Added missing calls to Lockable::lock() in Log class.