permaculture playing cards*
The moose likes Other Open Source Projects and the fly likes Log4j properties 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 » Other Open Source Projects
Bookmark "Log4j properties" Watch "Log4j properties" New topic
Author

Log4j properties

mansoor akthar
Greenhorn

Joined: May 31, 2007
Posts: 1
Hi All

In my log4j props file I specify the location where the logs have to be written.

For tomcat i use



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.

Thank You
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Log4j properties
 
Similar Threads
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