[slf4j-user] slf4j JDK - does not show the class and method that invokes the logger

Ceki Gülcü listid at qos.ch
Mon Nov 21 16:26:05 CET 2005


At 05:13 PM 11/17/2005, Pusposuharto, Budiono wrote:

>It seems that if you create a custom logger that inherits the JDK 1.4
>Logger class, the caller of the log method gets displayed.
>Would this work for with your logger?

Is that so? Looking at the source code of java.util.logging.LogRecord class 
it seems to me that caller information is inferred with respect to the 
java.util.logging.Logger class independent of the real caller.

Would you care to confirm?

>Bud

-- 
Ceki Gülcü

   The complete log4j manual: http://www.qos.ch/log4j/
   Improve your Sudoku skills at http://www.sudoku-grok.com/





More information about the slf4j-user mailing list