remove fd import and print lib's log in print_emitter()
add library's log