Hi Milan,
Probably because the logger with consider as "my.package " whereas you
certainly use "my.package" in your code.
Regards
JB
On 12/03/2014 11:27 AM, Milan Tomic wrote:
Hi JB,
Now it works. :) All I did is changed:
log4j.logger.my.package = TRACE
to:
log4j.logger.my.package=TRACE
problem with spaces?
Best regards,
Milan
On Tuesday, December 2, 2014 7:59 PM, Jean-Baptiste Onofré
<[email protected]> wrote:
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] <mailto:[email protected]>
http://blog.nanthrax.net <http://blog.nanthrax.net/>
Talend - http://www.talend.com <http://www.talend.com/>
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com