RE: how to use env vars in log4j.properties file

2003-11-14 Thread Shapira, Yoav
Howdy, I guess you're assuming log4j automatically reads environment properties into an env. prefix scheme like Ant? ;) Try just environment variable, e.g. $CATALINA_HOME or ${CATALINA_HOME}. Yoav Shapira Millennium ChemInformatics -Original Message- From: Praveen Alavilli

RE: how to use env vars in log4j.properties file

2003-11-14 Thread Praveen Alavilli
I tried - they don't work either. - Praveen Shapira, Yoav wrote on 11/14/2003, 2:25 PM: Howdy, I guess you're assuming log4j automatically reads environment properties into an env. prefix scheme like Ant? ;) Try just environment variable, e.g. $CATALINA_HOME or ${CATALINA_HOME}.

RE: how to use env vars in log4j.properties file

2003-11-14 Thread Jacob Kjome
This functionality exists in log4j sandbox as an appender+servlet context listener. It sends app logging info to the same log file which is configured for your servlet context. Here is what the config looks like... in log4j.xml... appender name=ServletContext