* remove duplicate newlines when using logger output