If using log4j, log4j automagically looks for log4j.properties in the classloader with no package prefix. So if log4j is in $TOMCAT_HOME/lib, you can configure it via log4j.properties in $TOMCAT_HOME/classes.

-Tim

Henrik Vendelbo wrote:

With all the flexibility in cofiguring the logging facility, I wonder if there is some way to discover how current properties were loaded.

 I imagine that getting the absolute path of for instance the
 log4j.properties file would be tricky; How about the name of the
ClassLoader
 and the relative path ?

Henrik



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to