oslo_log.watchers

class oslo_log.watchers.FastWatchedFileHandler(logpath, *args, **kwargs)

Bases: logging.handlers.WatchedFileHandler, object

Frequency of reading events.

Watching thread sleeps max(0, READ_FREQ - (TIMEOUT / 1000)) seconds.

READ_FREQ = 5

Poll timeout in milliseconds.

See https://docs.python.org/2/library/select.html#select.poll.poll

TIMEOUT = 5
reopen_file()

See also

Usage