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

Ceki Gülcü listid at qos.ch
Tue Dec 13 11:07:38 CET 2005


Hello Allan,

Which version of NLOG4J and jcl-over-slf4j are you using. A similar problem 
have been observed previously and fixed in more recent versions of NLOGJ 
and SLF4J distributions.

At 09:30 AM 12/13/2005, you wrote:
>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

-- 
Ceki Gülcü

   The complete log4j manual: http://www.qos.ch/log4j/






More information about the slf4j-user mailing list