logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sohana Chowdhury <chowd...@mail.nih.gov>
Subject Redirect log file location
Date Fri, 01 Jun 2007 19:35:17 GMT
Hi,
Do you have any idea of how to redirect the location of the log file?

My log4j.properties file has
log4j.appender.A2.file=ABCDlogfile.log

When I run the program, it creates the log file in a folder I am not
expecting it to be. I want to be in the tomcat/logs directory. Of course I
do not want to hard code the absolute path for inconvenience to the users.
The web app runs on different platform/servers.
 
Any idea on how to redirect the log file location?

Thanks
Sohana 


Mime
View raw message