Re: Setting properties for log4j.xml configuration file

2011-02-20 Thread Curt Arnold
XML entity references can be used for that purpose and are defined in the XML Recommendation (http://www.w3.org/TR/xml/#sec-references). ]> ... ... On Feb 20, 2011, at 6:35 AM, Thomas Wiedmann wrote: > Hello, > > usually in flat plain text log4j.config files global system properties can be

Re: Setting properties for log4j.xml configuration file

2011-02-20 Thread Christian Grobmeier
Hi, actually you are right. I think we should improve our documentation here. In meanwhile, please try this: http://wiki.apache.org/logging-log4j/Log4jXmlFormat Let me know if this solves your problems. Cheers Christian On Sun, Feb 20, 2011 at 1:35 PM, Thomas Wiedmann wrote: > Hello, > > usual

Setting properties for log4j.xml configuration file

2011-02-20 Thread Thomas Wiedmann
Hello, usually in flat plain text log4j.config files global system properties can be defined, which may be referenced in the configuration of different appenders, e. g. log4j.logdir=C:/Data/logfiles ... log4j.appender.MyAppender1.File=${log4j.logdir}/MyAppender1.log ... log4j.appender.MyAppen