reformat debugs, wrns, errs and so on