logger: remove double-newlines