Tidy logging output