Python Logging question

2008-04-18 Thread tpatch
I am new to Python and I am trying to understand how to utilize the RotatingFileHandler to rollover when the file gets to a certain size. I followed some examples that I have found for setting the size and the number of files. However, I am finding that when the log file gets close to the

RotatingFileHandler - ShouldRollover error

2008-04-16 Thread tpatch
I am using the RotatingFileHandler logger with Python 2.5 on Windows and I am getting an error on the rollover. When the log file gets close to the size where it needs to rollover, I start getting the following error for every log message. Does anyone have a solution to this problem?