Skip to content

Commit aceae47

Browse files
committed
GH-1121 Change login levels on RoutingFunction
Resolves #1121
1 parent 56d6b82 commit aceae47

File tree

1 file changed

+4
-4
lines changed
  • spring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/config

1 file changed

+4
-4
lines changed

spring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/config/RoutingFunction.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ private FunctionInvocationWrapper functionFromDefinition(String definition) {
213213
FunctionInvocationWrapper function = this.resolveFunction(definition);
214214
Assert.notNull(function, "Failed to lookup function to route based on the value of 'spring.cloud.function.definition' property '"
215215
+ definition + "'");
216-
if (logger.isInfoEnabled()) {
217-
logger.info("Resolved function from provided [definition] property " + definition);
216+
if (logger.isDebugEnabled()) {
217+
logger.debug("Resolved function from provided [definition] property " + definition);
218218
}
219219
return function;
220220
}
@@ -234,8 +234,8 @@ private FunctionInvocationWrapper functionFromExpression(String routingExpressio
234234
FunctionInvocationWrapper function = this.resolveFunction(definition);
235235
Assert.notNull(function, "Failed to lookup function to route to based on the expression '"
236236
+ functionProperties.getRoutingExpression() + "' which resolved to '" + definition + "' function definition.");
237-
if (logger.isInfoEnabled()) {
238-
logger.info("Resolved function from provided [routing-expression] " + routingExpression);
237+
if (logger.isDebugEnabled()) {
238+
logger.debug("Resolved function from provided [routing-expression] " + routingExpression);
239239
}
240240
return function;
241241
}

0 commit comments

Comments
 (0)