logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Raible" <m...@raibledesigns.com>
Subject Converting log4j.properties to log4j.xml
Date Thu, 18 Sep 2003 00:05:13 GMT
Is it true that the 3 lines in my log4j.properties file:

log4j.logger.org.apache.commons=ERROR
log4j.logger.org.apache.struts=WARN
log4j.logger.servletunit.struts=WARN

Will end up as 9 lines in log4j.xml (carriage returns aside)

  <logger name="org.apache.commons">
    <level value="WARN"/>
  </logger>
  <logger name="org.apache.struts">
    <level value="WARN"/>
  </logger>
  <logger name="servletunit.struts">
    <level value="WARN"/>
  </logger>

Just want to verify that this is the simplest way to convert a
.properties to an .xml file?  Also, what's the main reason for
converting - validation against a DTD?

Thanks,

Matt



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


Mime
View raw message