removing uneeded text from logs outputs