Hi guys,
I have a custom component which I have written, I will like to log some info
form the component into karaf log, attempts to this this has not be
fruitful.
I have defined a logger as shown below in my camel component files:
private static final transient Log LOG =
LogFactory.getLog(CustomProducer.class);
and I used it this way:
LOG.trace("Unknown Error");
LOG.trace(e);
but, if never shows up in karaf.log.
Am I missing something? (I saw somewhere it's being checked if log is turned
on - LOG.isTraceEnabled() -, where do I do this?)
My camel traqce is on already.
kr.
--
View this message in context:
http://old.nabble.com/Logging-Camel-component-info-to-karaf.log-tp28575670p28575670.html
Sent from the Camel - Users mailing list archive at Nabble.com.