diff --git a/spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/InvocableHandlerMethod.java b/spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/InvocableHandlerMethod.java index e1ec9e5ea28..60b8ad4587c 100644 --- a/spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/InvocableHandlerMethod.java +++ b/spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/InvocableHandlerMethod.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -128,8 +128,8 @@ public class InvocableHandlerMethod extends HandlerMethod { continue; } catch (Exception ex) { - if (logger.isTraceEnabled()) { - logger.trace(getArgumentResolutionErrorMessage("Error resolving argument", i), ex); + if (logger.isDebugEnabled()) { + logger.debug(getArgumentResolutionErrorMessage("Error resolving argument", i), ex); } throw ex; } diff --git a/spring-web/src/main/java/org/springframework/web/method/support/InvocableHandlerMethod.java b/spring-web/src/main/java/org/springframework/web/method/support/InvocableHandlerMethod.java index 6ce16e50bbe..65b91ae543a 100644 --- a/spring-web/src/main/java/org/springframework/web/method/support/InvocableHandlerMethod.java +++ b/spring-web/src/main/java/org/springframework/web/method/support/InvocableHandlerMethod.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -164,8 +164,8 @@ public class InvocableHandlerMethod extends HandlerMethod { continue; } catch (Exception ex) { - if (logger.isTraceEnabled()) { - logger.trace(getArgumentResolutionErrorMessage("Error resolving argument", i), ex); + if (logger.isDebugEnabled()) { + logger.debug(getArgumentResolutionErrorMessage("Error resolving argument", i), ex); } throw ex; }