Re: how to rotate reviewboard log?

2010-04-19 Thread Matthew Woehlke
Okay, it looks like Python 2.6 provides a logging handler we can use for this -- WatchedFileHandler. It checks to see if the file has been moved/renamed/deleted and then reopens. It's intended for use with logrotate and such. A couple caveats. First, it's only in Python 2.6. We can look into

Re: how to rotate reviewboard log?

2010-04-16 Thread Christian Hammond
On Thu, Apr 15, 2010 at 6:03 PM, Christian Hammond chip...@chipx86.comwrote: On Wed, Apr 14, 2010 at 11:38 AM, Matthew Woehlke mw_tr...@users.sourceforge.net wrote: Apologies, I'm not sure I have understood what you wrote. I would like to use logrotate to manage Review Board's logs. I

Re: how to rotate reviewboard log?

2010-04-14 Thread Matthew Woehlke
On 2010-04-14 12:42, Jan Koprowski wrote: On Apr 14, 7:05 pm, Matthew Woehlkemw_tr...@users.sourceforge.net wrote: So, while wondering why a request was taking a while to post, I was poking around for the logs, and noticed that the lighttpd log had grown to over 240 MiB. Okay, I said to myself,