tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Logger.getConfigurationFileName()
Date Sun, 28 Sep 2003 19:14:33 GMT
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
> 


Mime
View raw message