diff options
author | Nao Pross <np@0hm.ch> | 2021-12-15 22:18:22 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-12-15 22:18:22 +0100 |
commit | 4e686d4d57724105170515c719628df146cc6fc7 (patch) | |
tree | 597405b40881e89bacebec4c2f29a94c5a930ec2 | |
parent | Correct typos (diff) | |
download | Fading-4e686d4d57724105170515c719628df146cc6fc7.tar.gz Fading-4e686d4d57724105170515c719628df146cc6fc7.zip |
Less stdout
Diffstat (limited to '')
-rw-r--r-- | src/gr-fadingui/python/logger.py | 2 | ||||
-rw-r--r-- | src/gr-fadingui/python/netsink.py | 2 |
2 files changed, 2 insertions, 2 deletions
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): |