Mutex lock on the log