fixed logging unit test failure