RotatingFileHandler and logging config file

news.sydney.pipenetworks.com nytimes at swiftdsl.com.au
Fri Mar 18 06:35:01 EST 2005


Rob Cranfill wrote:
> news.sydney.pipenetworks.com wrote:
> 
>>
>> You're looking in the wrong place. Try
>>
>> http://docs.python.org/lib/node333.html
>>
> 
> which isn't quite the page in question, but leads to the closest 
> pertinent page,
>   http://docs.python.org/lib/logging-config-fileformat.html
> which *still* has nothing on RotatingFileHandler.

Yeah...sorry about that. I misunderstood what node333.html was used for. 
Looks like your best bet may be to extend the RotatingFileHandler 
directly in the handlers module and call doRollover() in __init__.

Huy



More information about the Python-list mailing list