Synchronize log rolling
Synchronize log rolling

There is a bug in the log rolling code where multiple threads in the
same process can contend on rolling the files. The result is that we
will delete log files and drop log messages.

refs #206

TwP/logging,TwP/logging