Logger Configuration

Rob Wolfe rw at smsnet.pl
Tue Jul 8 21:43:28 CEST 2008

"Robert Rawlins" <robert.rawlins at thinkbluemedia.co.uk> writes:

> Hello guys,
> I?ve attached an example of my logging configuration file for you to look at.
> The problem I?m experiencing is that the log files are not rotating as I would
> expect them to, they just keep growing and growing.
> Can you see any reason for this to happen? This is the first time I?ve used a
> config file and not just configured the logger programmatically.

I think that you should use integers instead of strings in that line:

args=('/logs/application.log', 'a', '800000', '5')

so it would look like this:

args=('/logs/application.log', 'a', 800000, 5)


More information about the Python-list mailing list