logging remove extra added <LF>