Can someone please tell me where the XML format for log4j configuration is documented? Alternatively I’d also take an explanation of how to configure the SMTP Appender. Arrrgh.

*Edit* I found out how it (the DOMConfigurator) works (except that the SMTPAppender doesn’t work): you can set all “setter” methods with the construct 🙂 The API docs tell you what params exist and what they are supposed to do (in most cases that is enough). Anyway that’s the info I needed to be able to use the rest of the documentation effectively. It would probably have been in there somewhere: so much quicker to scan the source code.

By Yashima

Writer of code and stories