Adding debug output to logging test case