Is it possible to reference system environment variables (as opposed to Java system properties) in a log4j xml configuration file?
I\'d like to be able to do somethi
I tried to do that recently and couldn't get it to work. What I ended up doing is sending a variable at startup. So say you have an environment variable called $LOG_LEVEL:
and at startup...
java -Dlog_level=$LOG_LEVEL your_app