You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by sai kou <sa...@hotmail.com> on 2001/11/20 06:56:47 UTC

How to set log file path with a system variable in NT system

I have a system variable named TEMP, you can use set command to find it.
for example:
set
...
TEMP = C:\WINNT\TEMP
...

I'd like to set log file like:

log4j.appender.debug.File=$TEMP/debug.log
or
log4j.appender.debug.File=${TEMP}/debug.log

But it did'nt work.



_________________________________________________________________
かわいい & 使えるブラウザで、インターネット生活もっと楽しくなる!
http://explorer.msn.co.jp/


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>