logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reza Razavipour" <reza.razavip...@gmail.com>
Subject How to get values from log4j.xml file
Date Tue, 26 Aug 2008 00:30:29 GMT

I have a log4j.xml file for my application. I have something like the
following in the file:
	<appender name="SERVER_LOG"
		<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
		<param name="File" value="${jboss.server.home.dir}/log/server.log"/>


How can I programmatically get the properties for SERVER_LOG appender?

Thanks in advance.

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

View raw message