Are you sure the route pickup any messages to route? The log DSL will only log if there is messages.
On Fri, Nov 29, 2013 at 10:52 PM, mckinnonrob <rob.mckin...@gmail.com> wrote: > 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. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen