logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: Log4j -- Printing internal debug messages
Date Wed, 09 Apr 2008 06:19:58 GMT
It's usually used to figure out why configuration isn't working as expected.  It's 
not meant to be robust and certainly not meant to be used in production.  Usually, 
you'd set it external to the config file using a system property...

java -Dlog4j.debug=true MyProgram


Jake

Phanindra Anchuri wrote:
> Hi All,
> 
> Iam new to log4j and to this forum as well. 
> 
> I have been reading "Log4j - The complete Manual".
> 
> Regarding internal debug messages, the book says that, if we set 
> log4j.debug=true 
> 
> then,
> 
> we get to see the internal debug messages and also goes on to say that
> " at the time of writing the book" these debug messages are printed only on
> the console.
> 
> My question is this:
> 
> Does anyone here know of any efforts made to support other appenders (i.e.,
> ability to print these messages to other places like Files etc) for internal
> debug messages? or is it as the book mentions a much bigger issue since
> log4j can't use itself for its own logging?
> 
> Thanks,
> Phanindra

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message