system properties are set on the Java command line with the -D switch, not with environment variables.
java -DLOG4J_NULL=nul ..... power97 <cjo...@shaw.ca> wrote on 05/20/2009 03:10:48 PM: > > It didn't work. Any ideas , here is my code: > > Windows .cmd file: > set LOG4J_NULL=nul > > log4j.properties file > log4j.appender.LOGFILE.File=${LOG4J_NULL}