-
1. Re: How to turn on Debug (Trace) on camel-mina
davsclaus Jan 15, 2013 9:18 AM (in response to lekkie_lomotayo)You can enable logging levels for
org.apache.camel.component.mina
org.apache.mina
and set them to DEBUG or TRACE level to get more logging.
-
2. Re: How to turn on Debug (Trace) on camel-mina
lekkie_lomotayo Jan 31, 2013 11:58 AM (in response to davsclaus)Hi,
I did this in my log4j.properties which I put under my maven project's resource folder:
log4j.logger.org.apache.camel.component.mina=DEBUG, FILE
#define the appender named FILE
log4j.appender.FILE=org.apache.log4j.DailyRollingFileAppender
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.conversionPattern=%d{dd-MMM-yyyy HH:mm:ss.SSS} %-5p %c %x - %m%n
log4j.appender.FILE.File=${karaf.data}/log/mina.log
log4j.appender.FILE.DatePattern='.'yyyy-MM
This did not enable the logs as I couldnt find any mina.log file on the log folder
-
3. Re: How to turn on Debug (Trace) on camel-mina
ffang Jan 31, 2013 8:07 PM (in response to lekkie_lomotayo)Hi,
Ensure you're editing
etc/org.ops4j.pax.logging.cfg
but not
log4j.properties
Add something like
log4j.category.org.apache.camel.component.mina=DEBUG
Freeman
-
4. Re: How to turn on Debug (Trace) on camel-mina
lekkie_lomotayo Feb 1, 2013 2:53 AM (in response to ffang)Thanks, this worked for me.