Fixed a concurrency bug in the logging module.
Fixed a bug in the previous fix.  :-P  Deep sequence is necessary on the message to avoid deadlock.