PyDocs

Nav

Generic Operating System Services

BaseRotatingHandler

  • BaseRotatingHandler(filename, mode, encoding=None, delay=False, errors=None)
Base class for handlers that rotate log files at a certain point.
Not meant to be instantiated directly.  Instead, use RotatingFileHandler
or TimedRotatingFileHandler.
Members of BaseRotatingHandler

n

namer
If this attribute is set to a callable, the rotation_filename() method delegates to this callable.

r

rotate
When rotating, rotate the current log.
rotation_filename
Modify the filename of a log file when rotating.
rotator
If this attribute is set to a callable, the rotate() method delegates to this callable.
0 Examples
No examples for logging.handlers/BaseRotatingHandler.
See Also
No see-alsos for logging.handlers/BaseRotatingHandler
0 Notes
No notes for BaseRotatingHandler