Hi Milan,

What import package and logger do you use in your bundles ?
Same behaviour using the log:set command ?

I just tried with Cellar.

I defined:

log4j.logger.org.apache.karaf.cellar=DEBUG

And I see the DEBUG messages only for the cellar logger.
It looks good to me ;)

Regards
JB

On 12/02/2014 05:01 PM, Milan Tomic wrote:

Is there some known problem with Karaf 3.0.2 logging?

I am using SLF4J and have set up "etc/org.ops4j.pax.logging.cfg"
properly but only some of my OSGi modules are being logged and others
are not.

When I set up:

log4j.rootLogger = TRACE
then all components (mine and Karaf's) are logged properly with TRACE level.

But this doesn't work:

log4j.logger.my.package = TRACE
Thank you in advance,
Milan

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to