On 9 Feb, 14:14, [EMAIL PROTECTED] wrote:
> Right. Check out the logrotate facility on your system.
This can be used together with the WatchedFileHandler recently checked
into SVN trunk - this (Unix/Linux-only) handler checks to see if the
dev or inode have changed, and if they have (because of r
>> Rotating should happen when the logging process creates the handler
>> before midnight and makes a logging call destined for that handler
>> after midnight.
Chris> Ah, then maybe I'm expecting the wrong thing. The python code is
Chris> invoked from cron every 10 minutes or
"Vinay Sajip" <[EMAIL PROTECTED]> writes:
> It might. I assume you have a long-running process which runs past
> midnight - that's the scenario that TimedRotatingFileHandler is meant
> for. Can you post a complete minimal example which shows the problem?
> Rotating should happen when the logging
On 1 Feb, 05:32, Chris Shenton <[EMAIL PROTECTED]> wrote:
> I set this up 3 days ago and have not seen any of the logs I've
> created this way being rotated. I expected them to rotate every
> midnight. I'm calling the code that uses this logger many times, each
> a separate run, if that matters.
I set this up 3 days ago and have not seen any of the logs I've
created this way being rotated. I expected them to rotate every
midnight. I'm calling the code that uses this logger many times, each
a separate run, if that matters.
Am I doing something stupid? I can't find anything on google and