From: Vinay Sajip Date: Wed, 28 Jul 2021 10:46:52 +0000 (+0100) Subject: bpo-44399: Document another example of unexpected behavior. (GH-27407) X-Git-Tag: v3.11.0a1~551 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=174fbd85f60d7877d3a4f58214a852209f8dfbea;p=thirdparty%2FPython%2Fcpython.git bpo-44399: Document another example of unexpected behavior. (GH-27407) --- diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst index 2ab8c52e23ea..5a8d92ad5120 100644 --- a/Doc/howto/logging-cookbook.rst +++ b/Doc/howto/logging-cookbook.rst @@ -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, 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 - 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 issues.