fix bug
add logger client