I am fighting an issue where the DSL logs are not getting to the log output.

Route:
from("jms:queue:CAMEL_OUT")
            .log(LoggingLevel.ERROR, "looking for this in the logs ...
${body}")
            .to("jms:queue:CAMEL_FINAL");


I have log4j configured and turned the threshold down to DEBUG. When I
initiate the route the log message never gets to the logs.

*apache camel version:* 2.12.2
*log4j version:* 1.2.17

*log4j.properties:*

log4j.rootLogger=DEBUG, out

log4j.appender.out=org.apache.log4j.ConsoleAppender
log4j.appender.out.layout=org.apache.log4j.PatternLayout
log4j.appender.out.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p
%c{50}:%L - %m%n


log4j.logger.org.apache.camel.component.jms=ERROR
log4j.logger.org.springframework=ERROR




--
View this message in context: 
http://camel.465427.n5.nabble.com/DSL-Logging-not-outputting-to-the-logs-tp5744093.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to