Change log() to cause exactly one write() call to _log_dest. This
should fix the problem that messages from different processes or threads could be intermingled. The code was rewritten to build up the lines of the error message in a list which is joined by "\n" characters at the end.
Showing
Please register or sign in to comment