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
All,

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

       /appender>

How can I programmatically get the properties for SERVER_LOG appender?

Thanks in advance.
Reza

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


Mime
View raw message