log info & debus messages and whitespace fix