Add newline stripping formatter to logging system

Change-Id: I21aff3aaa538135ca1465480e7daf1a6431ed2b6