Logging mechanism