At 03:22 PM 6/1/2004 +0200, you wrote:
Hi,

I have a small question for Log4j community, how can I do to include an environnement
variable into my log4j.properties


For exemple, I'd'like to use the $JONAS_BASE variable in order to set the path of my
log file.

Set a system property at runtime and refer to it as ${JONAS_BASE}. Note that this does not correspond to an environment variable. It has to be set as a Java system property. You could do this...


java -DJONAS_BASE=/my/path/to/jonas DummyRunJonasClass


Jake



thanks for your answer.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to