Quinn --
Use the syntax ${xxx} in your configuration file, replacing xxx with the
name of the system property that you want to use.
Ron Gallagher, AT&T Mobility
-----Original Message-----
From: Cheung, Quinn [mailto:[EMAIL PROTECTED]
Sent: Friday, June 01, 2007 10:06 AM
To: Log4J Users List
Subject: Configuring a file appender using environment variable
Is it possible to configure the output file of a file appender using the
environment variable APPDATA (Windows XP)? What is the syntax in the
log4j.properties file and do I have to send an argument to the JVM?
Thanks,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]