This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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