bpo-42378: fixed log truncation on logging shutdown (GH-27310)

Automerge-Triggered-By: GH:vsajip
This commit is contained in:
andrei kulakov 2021-07-25 16:17:47 -04:00 committed by GitHub
parent 9751f85914
commit 96cf5a63d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 6 deletions

View file

@ -117,6 +117,9 @@ sends logging output to a disk file. It inherits the output functionality from
Outputs the record to the file.
Note that if the file was closed due to logging shutdown at exit and the file
mode is 'w', the record will not be emitted (see :issue:`42378`).
.. _null-handler: