How to read JVM Env variable from log4j.xml...
roykanchan1Thu May 31, 2012 07:00 AM
I am using FileAppender in Log4j. The path of th file is stored in JVM Environment variable of the server. Is there any way, I can read the value of the JVM Environment variable in the server to get the Path of the file and append to it the name of the file where I want to store my log statements.
In a nutshell is there any way to read JVM Environemnt variable set in server from the log4j.xml?
Report | Quote This | Reply | Print