Adding logger for standard locking mechanism.