How to read JVM Env variable from log4j.xml
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   roykanchan1
Posted On:   Thursday, 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?

About | Sitemap | Contact