You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Antonio Rodriges <an...@gmail.com> on 2011/08/06 11:49:04 UTC

Verification of log4j configuration file

Hello,

How to verify log4j configuration file to find out whether it is
malformed or not?
Can log4j notify me of bad file format?

Thanks

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


AW: Verification of log4j configuration file

Posted by Stadelmann Josef <jo...@axa-winterthur.ch>.
Add as first line 
log4j.debug=true
to your config file and see how well your config file gets parsed
Josef

-----Ursprüngliche Nachricht-----
Von: Antonio Rodriges [mailto:antonio.rrz@gmail.com] 
Gesendet: Samstag, 6. August 2011 11:49
An: log4j-user@logging.apache.org
Betreff: Verification of log4j configuration file

Hello,

How to verify log4j configuration file to find out whether it is
malformed or not?
Can log4j notify me of bad file format?

Thanks

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


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