java ... -Dlog.dir=/my/preferred/path WAS
In log4j.properties
log4j.appender.MyAppender.File=${log.dir}/mylogfile.log
Now you can use the same log file for all environments. Just make sure you
set the system property at startup.
Jake
On Wed, 23 Jan 2008 09:44:03 -0600
Paula McDowell
Hi, all. Is there a way to set a DailyRollingFileAppender outside of a
log4j.properties in a struts application? My company’s website is running in a
mainfame environment with multiple WAS instances for each region ie.,
development, test, and production. This type of architecture requires my lo