A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Other Open Source Projects
Joined: May 31, 2007
Mar 16, 2009 10:27:05
In my log4j props file I specify the location where the logs have to be written.
This above works fine for tomcat.
For weblogic,websphere and oracle app server, i need to get to the folder where my appplication.ear resides.
I have tried several ways, but no Luck....
Any help will be appreciated.
It is sorta covered in the
JavaRanch Style Guide
subject: Log4j properties
Path to locate properties file of log4j
Any body use Log4J with Tomcat?
can I set the path in my code to refer a properties file?
Logging info on server side
$CATALINA_HOME/conf, $CATALINA_HOME/work, $CATALINA_HOME/logs
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014