Hello,

I have a few questions regarding pax-logging; namely:

1. I can use Spring-DM to inject an instance of PaxLoggingService. The
first parameter of getLogger() is org.osgi.framework.Bundle. Because I
am using Spring-DM, I don't have an easy way to access the Bundle. Is
there a way to obtain a Logger without resorting to the getLogger()
method?

2. I understand that to set up a PaxAppender, one must export a class
that implements its interface as a service. Is there a way to
associate an Appender to a specific log, like "com.foo.bar", and to
set the log's additivity to false? That way the root log's appender
won't be used when one is using com.foo.bar.

Thank you,
Samad

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to