[jboss-user] [Installation, Configuration & Deployment] - configure log4J to log to a file relative to an environment

daniel.kamp@ge.com do-not-reply at jboss.com
Thu Mar 15 16:40:48 EDT 2007


Good afternoon all,
   First, this is specific to a deployment on a Windows based domain.
   I am trying to configure log4j to log to a directory, offset from a path from an environment variable.

Example:  

I have an environment variable LOG_PATH = C:\Logs
I want to change the logging path in log4j.xml  from
       
to 
       

I was trolling google and found someone who suggested using ${env.} but I found this did not work.

Does anyone have an idea how to do this?  Any help would be greatly appreciated.

Thank you,
Dan

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028538#4028538

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028538



More information about the jboss-user mailing list