Added log when running qtest.c