lock logger