Atomikos Forum

slf4j logging with atomikos osgi 3.8

Why do you use org.slf4j.impl.StaticLoggerBinder in com.atomikos.logging.LoggerFactory. Since it is not a API class it won't be exported by slf4j or wrapper like pax-logging and therefore will never be visible to the classloader. Consequence is urgly output to stdout.
Benjamin Graf Send private email
Thursday, September 05, 2013
 
 
Benjamin Graf Send private email
Thursday, September 05, 2013
 
 
Hi,

thank you for using Atomikos osgi.

I think we decided to use directly Impl because at least an Impl is required for slf4j.

from :
<dependency>
          <groupId>org.slf4j</groupId>
          <artifactId>slf4j-log4j12</artifactId>
          <version>1.7.5</version>
      </dependency>
I can see :
Export-Package: org.slf4j.impl;version=1.7.5

Which impl/version of slf4j do you use ?
Pascal Leclercq Send private email
Thursday, September 19, 2013
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics