At 01:38 PM 5/7/2004 -0600, you wrote:
Hi,

Currently I have my log output file configured as absolute path in my
properties file.  I have tried to use system variable,
${TOMCAT_HOME}/myProject/logs/debug.log, but this never seems to work.

You need to make ${TOMCAT_HOME} (or some other variable name set to that same path) a Java system property. Windows system properties aren't going to be seen by Log4j unless you provide it specifically as a Java system property. That will work for both Windows and Unx. You can provide -D parameters to your startup script or set them dynamically at application startup.


Jake


Anyone got this one working on their system, specifically windows and linux?
I would like to know if there is a tutorial out there listing the steps.
This is a pain when I when to develop my code in a different platform.

Thanks a million!

-Yan


--------------------------------------------------------------------- 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