l.s.t.l.RotatableFileLogObserver : class documentation

Part of lp.services.twistedsupport.loggingsupport View In Hierarchy

A log observer that uses a log file and reopens it on SIGUSR1.
Method __init__ Set up the logfile and possible signal handler.
Method __call__ Undocumented
def __init__(self, logfilepath):
Set up the logfile and possible signal handler.

Installs the signal handler for SIGUSR1 to make the process re-open the log file.

ParameterslogfilepathThe path to the logfile. If None, stdout is used for logging and no signal handler will be installed.
def __call__(self, eventDict):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.