• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: log rotation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: log rotation?


  • Subject: Re: log rotation?
  • From: Paul Lynch <email@hidden>
  • Date: Thu, 17 Jul 2008 22:24:45 +0100

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >log rotation? (From: "Yung-Luen Lan" <email@hidden>)

  • Prev by Date: Re: [OT] Flash media server - WebObjects
  • Next by Date: Javarebel license giveaway
  • Previous by thread: Re: log rotation?
  • Next by thread: EOModeling
  • Index(es):
    • Date
    • Thread