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 

Reply via email to