Fixing logging message.