wood burning stoves 2.0*
The moose likes Other Java Products and Servers and the fly likes log4j have to retrieve a JVM environment variable that point to application log Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "log4j have to retrieve a JVM environment variable that point to application log " Watch "log4j have to retrieve a JVM environment variable that point to application log " New topic
Author

log4j have to retrieve a JVM environment variable that point to application log

Kaustubh Roy Chowdhury
Greenhorn

Joined: May 25, 2012
Posts: 1
Hi,

We are using log4j in our WebApplication that is deployed on a WebLogic Server on Linux Platform. We have to log all our log statements into a path like this /work/<domainName>/servers/<JVMname>/logs/pgms-01.stdout that would be stored in JVM environment variable

Can you please guide me how to make the settings in Weblogic/Application and also how to modify the log4j.xml so that it can make all the log in the above specified path.

Thanks and Regards, Kaustubh.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: log4j have to retrieve a JVM environment variable that point to application log
 
Similar Threads
Using log4j in ServletContextListener
path to log file in a log4j.properties
multiple log4j output files
Intercept And Formatting System.err
Log4j tracking