add the logger support for test command