remove logger code for test`.