aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2021-05-28 09:42:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-06 23:17:30 +0100
commitcc803609167b4c399ab768d9e131d618c086a4f2 (patch)
tree237b30e1acbff61c1cb1938387b5ab81ee366921
parent25ccd697ea76f66b813be2296866b2d3405b079c (diff)
downloadbitbake-cc803609167b4c399ab768d9e131d618c086a4f2.tar.gz
bitbake-cc803609167b4c399ab768d9e131d618c086a4f2.tar.bz2
bitbake-cc803609167b4c399ab768d9e131d618c086a4f2.zip
asyncrpc: Reduce verbosity
Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/asyncrpc/serv.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bb/asyncrpc/serv.py b/lib/bb/asyncrpc/serv.py
index fd91aa71..ef20cb71 100644
--- a/lib/bb/asyncrpc/serv.py
+++ b/lib/bb/asyncrpc/serv.py
@@ -147,7 +147,7 @@ class AsyncServer(object):
)
for s in self.server.sockets:
- self.logger.info('Listening on %r' % (s.getsockname(),))
+ self.logger.debug('Listening on %r' % (s.getsockname(),))
# Newer python does this automatically. Do it manually here for
# maximum compatibility
s.setsockopt(socket.SOL_TCP, socket.TCP_NODELAY, 1)
@@ -173,7 +173,7 @@ class AsyncServer(object):
finally:
os.chdir(cwd)
- self.logger.info('Listening on %r' % path)
+ self.logger.debug('Listening on %r' % path)
self._cleanup_socket = cleanup
self.address = "unix://%s" % os.path.abspath(path)
@@ -192,7 +192,7 @@ class AsyncServer(object):
self.logger.error('Error from client: %s' % str(e), exc_info=True)
traceback.print_exc()
writer.close()
- self.logger.info('Client disconnected')
+ self.logger.debug('Client disconnected')
def run_loop_forever(self):
try:
@@ -212,7 +212,7 @@ class AsyncServer(object):
self.server.close()
self.loop.run_until_complete(self.server.wait_closed())
- self.logger.info('Server shutting down')
+ self.logger.debug('Server shutting down')
finally:
if self.close_loop:
if sys.version_info >= (3, 6):