Reset loglevels
This commit is contained in:
parent
b46c004b31
commit
eef662ae79
|
@ -8,9 +8,8 @@ import base64
|
|||
import threading
|
||||
|
||||
from kivy.logger import Logger, LOG_LEVELS
|
||||
# TODO: Reset
|
||||
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__)
|
||||
|
|
|
@ -3,9 +3,8 @@ import RNS
|
|||
from os import environ
|
||||
|
||||
from kivy.logger import Logger, LOG_LEVELS
|
||||
# TODO: Reset
|
||||
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
|
||||
|
|
|
@ -906,8 +906,7 @@ class SidebandCore():
|
|||
self.service_thread.start()
|
||||
|
||||
def __start_jobs_immediate(self):
|
||||
# TODO: Reset loglevel
|
||||
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:
|
||||
|
@ -1061,7 +1060,6 @@ class SidebandCore():
|
|||
dest = RNS.Destination(dest_identity, RNS.Destination.OUT, RNS.Destination.SINGLE, "lxmf", "delivery")
|
||||
source = self.lxmf_destination
|
||||
|
||||
# TODO: Add setting
|
||||
if propagation:
|
||||
desired_method = LXMF.LXMessage.PROPAGATED
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue