Output log files if make check fails