remove useless newline in log handler