Adding Log4j DOCTYPE to log4j.xml
If you're using an XML aware editor, it's nice to take advantage of built in XML validation when editing log4j.xml configuration files. Here's a DOCTYPE that works with these editors:
<!DOCTYPE log4j:configuration PUBLIC
"-//LOG4J//DTD LOG4J 1.2//EN"
"http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/resources/org/apache/log4j/xml/log4j.dtd?view=co">

0 comments:
Post a Comment