From 6008f7d15ae90644c9af228fdb6e2003c08e6e81 Mon Sep 17 00:00:00 2001 From: Han Xiao Date: Tue, 15 Oct 2019 16:00:26 +0800 Subject: [PATCH] fix(service): revert socket log --- gnes/service/base.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gnes/service/base.py b/gnes/service/base.py index 77fdae06..df23b2fa 100644 --- a/gnes/service/base.py +++ b/gnes/service/base.py @@ -413,11 +413,11 @@ def _run(self, ctx): self.logger.info('output %s:%s' % (self.args.host_out, colored(self.args.port_out, 'yellow'))) - # self.logger.info( - # 'input %s:%s\t output %s:%s\t control over %s' % ( - # self.args.host_in, colored(self.args.port_in, 'yellow'), - # self.args.host_out, colored(self.args.port_out, 'yellow'), - # colored(ctrl_addr, 'yellow'))) + self.logger.info( + 'input %s:%s\t output %s:%s\t control over %s' % ( + self.args.host_in, colored(self.args.port_in, 'yellow'), + self.args.host_out, colored(self.args.port_out, 'yellow'), + colored(ctrl_addr, 'yellow'))) poller = zmq.Poller() poller.register(in_sock, zmq.POLLIN)