https://issues.apache.org/bugzilla/show_bug.cgi?id=43867





--- Comment #37 from Thorbjørn Ravn Andersen <[EMAIL PROTECTED]>  2008-07-09 
10:48:43 PST ---
(In reply to comment #36)

> >Just put a breakpoint in the place where log4j prints the error
> > message and see who is trying to log.
> 
> Do you know where that is?  Because I don't, offhand.  

The source files are present in the distribution archive.

In Eclipse I add the log4j-1.2.15.jar file to the build path, and in the
properties of the jar file I set the source archive as the "Java Source
Attachment".

I can then press Ctrl-Alt-T, select NOPLoggerRepository and press Return to go
to the NOPLoggerRepository.class file but SEE the NOPLoggerRepository.java file
in my editor.  I can then position the cursor over the "NOPLoggerRepository" in
"public class NOPLoggerRepository {" and press Ctrl-Alt-G.  I am then presented
with the locations where the NOPLoggerRepository class is referenced. 

The method you are looking for is LogManager.getLoggerRepository, and the error
message is logged in line 177.

 > that I should care about it.  But I don't.  Why isn't there a way for me to
> tell log4j that I don't care about this problem - stop printing unnecessary
> error messages like this?

Perhaps you would like to raise this as an enhancement issue then? 


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to