PyDocs

Nav

Generic Operating System Services

WatchedFileHandler.reopenIfNeeded

logging.handlers

method of WatchedFileHandler · Added in 3.6 (source)
  • WatchedFileHandler.reopenIfNeeded()
Reopen log file if needed.

Checks if the underlying file has changed, and if it
has, close the old stream and reopen the file to get the
current stream.
0 Examples
No examples for logging.handlers/WatchedFileHandler.reopenIfNeeded.
See Also
No see-alsos for logging.handlers/WatchedFileHandler.reopenIfNeeded
0 Notes
No notes for WatchedFileHandler.reopenIfNeeded