Mutex locks when logging to Logger.logger