This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients Frans, lowell87, mramahi77, neyro, rcronk, vinay.sajip
Date 2009-06-07.11:35:16
SpamBayes Score 1.12762e-06
Marked as misclassified No
Message-id <>
ConcurrentLogHandler is for multiple *processes* writing to the same
file, not multiple threads in a single process. Python logging does not
support multiple processes writing to the same file because there is no
portable IPC locking across all platforms supported by Python.
ConcurrentLogHandler uses portalocker to achieve interprocess
synchronization, and there is no equivalent mechanism which is part of
the Python stdlib. AFAIK portalocker works on Windows and Linux - I'm
not sure about other platforms.

Python logging *does* support multiple threads in a single process
writing to the same file, which is why I asked Robert if it was
definitely a single-process environment he was working in.
Date User Action Args
2009-06-07 11:35:18vinay.sajipsetrecipients: + vinay.sajip, mramahi77, lowell87, neyro, rcronk, Frans
2009-06-07 11:35:18vinay.sajipsetmessageid: <>
2009-06-07 11:35:16vinay.sajiplinkissue4749 messages
2009-06-07 11:35:16vinay.sajipcreate