Hi,

I am using log4j for my webapp logging (a servlet in a war file name
'test.war').

The current location of my log files are:
log4j.appender.DEBUG.File=${catalina.base}/debug.log

How can I change it so that it will be put under the directory of my
webapp (e.g. tomcat will create directory 'test' for my 'test.war').
Is there a variable that I can use?

i.e. something like:
log4j.appender.DEBUG.File=${catalina.base}/${web-app-directory}/debug.log

Thank you.

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

Reply via email to