logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JMan_JE <JohannesElsingho...@gmx.net>
Subject Using System prpoerties inside log4j.xml
Date Mon, 31 Aug 2009 07:29:33 GMT


i need to specify the location of a RollingFileAppender's logfiles by a
System property. Is there anyway to do system property replacement inside
the log4j.xml?
I think of something like this:
<appender name="myAppender" class="org.apache.log4j.RollingFileAppender">
		<layout class="org.apache.log4j.PatternLayout">

Any hints?
Thanks, Johannes.
View this message in context: http://www.nabble.com/Using-System-prpoerties-inside-log4j.xml-tp25219373p25219373.html
Sent from the Log4j - Users mailing list archive at Nabble.com.

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

View raw message