ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Tuft Muller" <>
Subject RE: Log4j xml config evaluation
Date Tue, 11 Dec 2001 11:30:20 GMT
| The optional <xmlvalidate> task will validate XML files against DTD's.


| As for checking something more detailed like appenders exist for the
| categories defined - you're probably on your own there, unless Log4j has
| some built-in API to verify a configuration file.

I guess one way to do it is to configure a new Java process with the
DOMConfigurator/logfj.xml and check if any errors are submitted to std err.

Again, thanx.



Copyright ERA Technology Ltd. 2001. ( All rights reserved. 
Confidential. No liability whatsoever is accepted for any loss or damage 
suffered as a result of accessing this message or any attachments.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message