If you aren't using Wonder/log4j, WOStatisticsStore includes rotation period on setLogFile(), which produces that style of log rotation with 5.3; I can't confirm if it works with 5.4.
On 17 Jul 2008, at 18:04, Yung-Luen Lan wrote:

Hi,

How to setup the log rotation of webobjects app? My app used to
produce log file with name like
MyApp.log.20080603
automatically. Fine.

But after I update my framework, OS and WebObjects, the log file won't
append the date to filename automatically except the app terminates!
That means, I have only one file MyApp.log, it's overwritten everyday.
(Ooops, I lost my log everyday!)
When I restart my app, the current MyApp.log becomes
MyApp.log.20080716155248451(I just need the yyyy/mm/dd) and the new
log starts from MyApp.log.

How to set the log to old way? (Automatically change the name everyday)

Regards,
yllan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to