Capture valgrind log