Logging bug hotfix