Logs for lock obtaining added.
Merge pull request #57 from cleandart/lock-log

Logs for lock obtaining added.