Browse Source
bpo-44399: Document another example of unexpected behavior. (GH-27407)
pull/27415/head
Vinay Sajip
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
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. |
|
|
|
|