I am not sure I understand what logName refers to: The final log stream, the
appender, the category?

Here is my log4j.properties relevant section:

log4j.rootLogger=WARN, logfile
log4j.appender.logfile=org.apache.log4j.RollingFileAppender
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] -
%X{remoteAddress} %X{sessionId} %m%n
log4j.appender.logfile.File=${catalina.home}/logs/nestorurquiza-app.log
log4j.appender.logfile.MaxFileSize=200MB
log4j.appender.logfile.MaxBackupIndex=3
log4j.logger.com.nestorurquiza.orchestration.camel.route=DEBUG

As per your suggestion I used:
from("direct:start").log(LoggingLevel.DEBUG, "logfile", "Processing ${id}");
and
from("direct:start").log(LoggingLevel.DEBUG,
"com.nestorurquiza.orchestration.camel.route", "Processing ${id}");

--
View this message in context: 
http://camel.465427.n5.nabble.com/Logging-from-route-not-working-tp5674964p5675092.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to