diff options
-rw-r--r-- | Doc/library/logging.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 5adde29f50..08555c3a35 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -1215,6 +1215,10 @@ functions. closing all handlers. This should be called at application exit and no further use of the logging system should be made after this call. + When the logging module is imported, it registers this function as an exit + handler (see :mod:`atexit`), so normally there's no need to do that + manually. + .. function:: setLoggerClass(klass) |