Fixed locking log.
Merge branch 'test' into dev