From 4e686d4d57724105170515c719628df146cc6fc7 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Wed, 15 Dec 2021 22:18:22 +0100 Subject: Less stdout --- src/gr-fadingui/python/logger.py | 2 +- src/gr-fadingui/python/netsink.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gr-fadingui') diff --git a/src/gr-fadingui/python/logger.py b/src/gr-fadingui/python/logger.py index a189aeb..a101b9e 100644 --- a/src/gr-fadingui/python/logger.py +++ b/src/gr-fadingui/python/logger.py @@ -10,5 +10,5 @@ def get_logger(module): log.addHandler(stdout_handler) stdout_handler.setFormatter(formatter) - log.setLevel(logging.DEBUG) + log.setLevel(logging.WARNING) return log diff --git a/src/gr-fadingui/python/netsink.py b/src/gr-fadingui/python/netsink.py index 8851fe9..932eb0b 100644 --- a/src/gr-fadingui/python/netsink.py +++ b/src/gr-fadingui/python/netsink.py @@ -71,7 +71,7 @@ class netsink(gr.sync_block): try: return self.socket.sendto(data, self.srv) except socket.error as err: - log.warn(f"No data was sent: {err}") + log.debug(f"No data was sent: {err}") return 0 def encode(self, data): -- cgit v1.2.1