Fixing logger messages