This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread 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 Building Microservices this week in the Design 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: log4j log file location in WAS 4.0
 
It's not a secret anymore!