File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: log4j log file location in WAS 4.0