Did you change the configure file of org.ops4j.pax.logging.cfg in the
$KARAF_HOME/etc to enable the trace level log for your component?
Willem
lekkie wrote:
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.