wood burning stoves 2.0*
The moose likes Websphere and the fly likes log4j log file location in WAS 4.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "log4j log file location in WAS 4.0" Watch "log4j log file location in WAS 4.0" New topic
Author

log4j log file location in WAS 4.0

david chan
Ranch Hand

Joined: Jun 10, 2002
Posts: 46
Hi,
I am using log4j-1.2.5 in my websphere studio 4.0.3 in win 2000 (deployment is in AIX).
In log4j config file, there is one line (from my tomcat sample):
log4j.appender.test.File=${tomcat.home}/logs/test.log
Now if I replace the ${tomcat.home} with ${WAS_ROOT} for websphere, it won't work.
Does anyone know how log4j can know the WAS root directory ?
Thanks.
David
 
GeeCON Prague 2014
 
subject: log4j log file location in WAS 4.0