Skip to content

Commit

Permalink
Document that logging registers shutdown as an atexit handler (python…
Browse files Browse the repository at this point in the history
  • Loading branch information
andresdelfino authored and vsajip committed Mar 26, 2019
1 parent 577277f commit 3e700e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Doc/library/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 3e700e4

Please sign in to comment.