class documentation

class _ReopenableLogHandler(logging.handlers.BaseRotatingHandler):

View In Hierarchy

Log handler with ability to reopen log file on request.

In combination with a SIGHUP handler this class can reopen the log file on user request.

Method __init__ Initializes this class.
Method doRollover Reopens the log file.
Method RequestReopen Register a request to reopen the file.
Method shouldRollover Determine whether log file should be reopened.
Instance Variable stream Undocumented
Instance Variable _reopen Undocumented
def __init__(self, filename):

Initializes this class.

Parameters
filename:stringPath to logfile
def doRollover(self):

Reopens the log file.

def RequestReopen(self):

Register a request to reopen the file.

The file will be reopened before writing the next log record.

def shouldRollover(self, _):

Determine whether log file should be reopened.

stream =

Undocumented

_reopen: bool =

Undocumented