add logging test case.
task logging test case.