Raul Kripalani wrote
> Are you getting any other log statements printed out to your 'out' console
> appender?
Yes. I am seeing all the log chatter. Just not seeing logs from the route.
--
View this message in context:
http://camel.465427.n5.nabble.com/DSL-Logging-not-outputting-to-the-logs-tp5
Claus Ibsen-2 wrote
> The log uses the route name as the logger name by default.
>
> You can try to specify a logger name to use with the 3 args version
> public Type log(LoggingLevel loggingLevel, String logName, String
> message) {
I specified the three args version with the following:
from
Claus Ibsen-2 wrote
> Are you sure the route pickup any messages to route? The log DSL will
> only log if there is messages.
Yes I am sure. In my route the body is ultimately being placed on a queue,
CAMEL_FINAL, and all the messages are showing up there fine.
--
View this message in context:
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 DEBU