I found the answer.
${user.name}
Thanks,
Brian
Brian Quirk
<[EMAIL PROTECTED]> To: [EMAIL PROTECTED]
cc:
05/25/2004 02:26 Subject: System Variables in
properties file?
PM
Please respond to
"Log4J Users
List"
Hi -
Is it possible to use windows system variables in a properties file? I have the
following in my properties file and would like to use %COMPUTERNAME% to add more
detail.
# define the email appender
log4j.appender.smtp=org.apache.log4j.net.SMTPAppender
[EMAIL PROTECTED]
log4j.appender.smtp.Subject=Fatal Error occurred on %COMPUTERNAME%
log4j.appender.smtp.Threshold=Error
Thanks,
Brian
---------------------------------------------------------------------
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]