log double newline fix