cleanup the log mess that is build_log