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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to