You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Barbara Baughman <ba...@utdallas.edu> on 2001/07/24 17:11:30 UTC
Tomcat and Log4j
I have the logging working in my application, but I need to know how to
set the login file so it comes under webapps/myapp instead of
TOMCAT_HOME/bin.
I'm sure it has something to do with getServletContext.getRealPath(), but
I don't know where to look for the property after I do
PropertyConfigurator.configure() or what log4j calls the property (file
name of the log file).
Thanks in advance for any help.
Barbara Baughman
X2157
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org