${user.name}
Luc
Dan Walker [EMAIL PROTECTED] on 08/28/2002 10:55:24 AM
Please respond to Log4J Users List [EMAIL PROTECTED]
To:[EMAIL PROTECTED]
cc:
Subject:Conversion character for system properties?
Hi,
I would like to make the system property user.name show up in each log
I am using the DOMConfigurator, and would like to make use of the variable
substitution available to Log4J.
Does anyone have an XML example of this?
The book only has a log4j.properties file example, and I do not know the
XML syntax. I get SAXParser errors...
Luc
--
To
Could you post your config file for this instance?
Also, why are you trying to append stdout and stderr to a file?
You can just direct logging to an appender apart from stderr/stdout.
Luc
PRAVIN VAJIRKAR [EMAIL PROTECTED] on 08/14/2002 10:04:49 AM
Please respond to Log4J Users List
Well for one thing, your ConversionPattern is assigned to an appender
called ROLL. Change that to A1.
Running 1.2.6 with the DOMConfigurator this works just fine.
appender name=ROLLER
class=org.apache.log4j.RollingFileAppender
param name =File value=c:
Here are a few open source tools that edit XML from a browser, but I have not used
them to validate capabilities/reliability.
XOPUS
http://www.q42.nl/products/xopus/
BB-XEDIT
http://sourceforge.net/projects/bb-xedit/
Luc Bell
Eric Gilbertson [EMAIL PROTECTED] on 08/01/2002 10:50:34
AM