use gen_log in zmqstream