From 9e715f80d07aefa0cc592654e8e023cd2b972a73 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Mon, 3 Oct 2022 02:30:21 +0200 Subject: [PATCH] Cleanup --- sbapp/main.py | 4 ++-- sbapp/services/sidebandservice.py | 4 ++-- sbapp/sideband/core.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sbapp/main.py b/sbapp/main.py index 4c3176a..03f8c09 100644 --- a/sbapp/main.py +++ b/sbapp/main.py @@ -8,8 +8,8 @@ import base64 import threading from kivy.logger import Logger, LOG_LEVELS -Logger.setLevel(LOG_LEVELS["debug"]) -# Logger.setLevel(LOG_LEVELS["error"]) +# Logger.setLevel(LOG_LEVELS["debug"]) +Logger.setLevel(LOG_LEVELS["error"]) if RNS.vendor.platformutils.get_platform() != "android": local = os.path.dirname(__file__) diff --git a/sbapp/services/sidebandservice.py b/sbapp/services/sidebandservice.py index f51fd61..f7b5f13 100644 --- a/sbapp/services/sidebandservice.py +++ b/sbapp/services/sidebandservice.py @@ -3,8 +3,8 @@ import RNS from os import environ from kivy.logger import Logger, LOG_LEVELS -Logger.setLevel(LOG_LEVELS["debug"]) -# Logger.setLevel(LOG_LEVELS["error"]) +# Logger.setLevel(LOG_LEVELS["debug"]) +Logger.setLevel(LOG_LEVELS["error"]) if RNS.vendor.platformutils.get_platform() == "android": from jnius import autoclass, cast diff --git a/sbapp/sideband/core.py b/sbapp/sideband/core.py index 5cd2eff..0993ef2 100644 --- a/sbapp/sideband/core.py +++ b/sbapp/sideband/core.py @@ -908,7 +908,7 @@ class SidebandCore(): self.service_thread.start() def __start_jobs_immediate(self): - self.reticulum = RNS.Reticulum(configdir=self.rns_configdir, loglevel=7) + self.reticulum = RNS.Reticulum(configdir=self.rns_configdir, loglevel=2) if RNS.vendor.platformutils.get_platform() == "android": if not self.reticulum.is_connected_to_shared_instance: