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


Win a copy of Android Security Essentials Live Lessons this week in the Android 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
 
wood burning stoves
 
subject: log4j log file location in WAS 4.0
 
Similar Threads
log4j in WebSphere5.1
oracle.jdbc.driver.OracleDriver in my servlet, works fine with a java application
Redeploy application
help me please
porb. with log4j