[slf4j-user] Logging class and line number is not correct

Allan Lauridsen membership at allau.dk
Tue Dec 13 09:30:24 CET 2005


Hi all,

I have the following set up:

J2EE app server: WebSphere 5.1 (running with local test environment)
Classloader mode: PARENT_LAST
WAR classloader policy: APPLICATION

I am using the NLOG (1.2.19) implmentation and I am using 
jcl104-over-slf4j.jar from the RC3 release. I have Struts, the Spring 
Framework and other libs in my classpath... but no commons-logging.jar 
in there!

I get the following in my log file (which is currently the console):

[12-12-05 12:54:22:044 CET] 29d235d4 SystemOut     O DEBUG 
[Servlet.Engine.Transports : 0] (SLF4JLog.java:97) - Searching: , 
Filter: (uid=exgall)
[12-12-05 12:54:22:076 CET] 29d235d4 SystemOut     O DEBUG 
[Servlet.Engine.Transports : 0] (SLF4JLog.java:97) - Loading groups for 
user: EXGALL

As you can see the log statements tell me that the logging has occured 
in SLF4JLog.java:97.. This is surely not the case... it is another class.

Does any of you have a good hint?

BTW all my log statements are also logged twice...

Best Reagards
Allan Lauridsen



More information about the slf4j-user mailing list