Logger - new line bug fix