IMHO, the obvious takeaway for me here is that pretty printing debug data should not be part of the originator system. It's a-okay to dump a 1GB binary log. The pretty-printing logic should be located in whatever dedicated application is used to inspect those dumps.