Add a script to format regression test logs