Cleaning up debug log output.