Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.6.0
-
None
-
None
Description
we can get rid of the 'isTraceEnabled', 'isDebugEnabled' and 'isInfoEnabled' statements with slf4j and use
logger.debug("Temperature set to {}. Old temperature was {}.", t, oldT);
instead
christian-muellers-macbook-pro:camel cmueller$ egrep -r 'isTraceEnabled|isDebugEnabled|isInfoEnabled]' . | wc -l
1485
Attachments
Issue Links
- is related to
-
CAMEL-2229 switch to slf4j / logback by default as we'll get accurate version information in stack traces, plus MDC support (and neater ways to avoid the "if (LOG.isDebugEnabled())" stuff
- Closed
- links to