Message 136860 - Python tracker (original) (raw)
Vinay Sajip wrote:
@Petri: It's great that it worked for you, but IIRC the syslog module has had thread-safety issues at least on some platforms, which is why it's not used in the SysLogHandler implementation (disclaimer: this was a while ago, I don't know if the syslog module is thread-safe now - I believe the thread-safety issues were in the underlying C APIs).
Ah, I was not aware of thread safety issues. A quick search revealed that there has been a non-standard syslog_r() function that's thread safe, but nowadays POSIX requires syslog() to be thread safe, too.