bpo-44399: Document another example of unexpected behavior. (GH-27407)

This commit is contained in:
Vinay Sajip 2021-07-28 11:46:52 +01:00 committed by GitHub
parent ee03bad25e
commit 174fbd85f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3022,7 +3022,9 @@ lead to a number of problems in practice:
* An attempt to delete a file (e.g. during file rotation) silently fails, * An attempt to delete a file (e.g. during file rotation) silently fails,
because there is another reference pointing to it. This can lead to confusion because there is another reference pointing to it. This can lead to confusion
and wasted debugging time - log entries end up in unexpected places, or are and wasted debugging time - log entries end up in unexpected places, or are
lost altogether. lost altogether. Or a file that was supposed to be moved remains in place,
and grows in size unexpectedly despite size-based rotation being supposedly
in place.
Use the techniques outlined in :ref:`multiple-processes` to circumvent such Use the techniques outlined in :ref:`multiple-processes` to circumvent such
issues. issues.