logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ying lcs" <ying...@gmail.com>
Subject Using log4j in Tomcat
Date Tue, 07 Nov 2006 16:43:55 GMT
I have the following log4j property file, and I am using log4j in my tomcat.

Can you please tell me how can I specify the  location of the log
file so that it is in the inside the webapp directory of the tomcat
that I deploy? I don't know the location of the tomcat, so I can't put
absolute path.

log4j.appender.DLACCESS=org.apache.log4j.FileAppender

#
# how can I specify the location of the log  file so that it is in the
inside the webapp directory of the tomcat that I deploy?
#
log4j.appender.DLACCESS.File=access.log

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message