struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paula McDowell <>
Subject FW: DailyRollingFileAppender for a Struts Web Application using WAS 6.0 and Struts 1.1
Date Wed, 23 Jan 2008 15:03:18 GMT

Hi, all.  Is there a way to set a DailyRollingFileAppender outside of a 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 log file to be environment specific i.e. /temp/dev/log or /temp/prod/log.  I could
have a for each environment, but don’t really feel good about that approach.

I’ve created a StartUp plugin that will create a log file using a variable defined as a
WAS Resource Environment Entry.  The plugin reads the variable and thus creates and names
the log file appropriately.  I have yet to figure out how to instantiate a DailyRollingFileAppender
that will roll this file and create a new log at the beginning of each day.



Private and confidential as detailed here. If you cannot access hyperlink, please e-mail sender.

Need to know the score, the latest news, or you need your Hotmail®-get your "fix".
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message