beautify  logging