Fixed locking log.