mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-22 13:30:36 +01:00
Send debug output to console only for now
This commit is contained in:
parent
0abf26d60c
commit
e35c0e0be7
@ -1396,12 +1396,14 @@ class SidebandCore():
|
|||||||
self.reticulum = RNS.Reticulum(configdir=self.rns_configdir, loglevel=selected_level)
|
self.reticulum = RNS.Reticulum(configdir=self.rns_configdir, loglevel=selected_level)
|
||||||
|
|
||||||
if RNS.vendor.platformutils.get_platform() == "android":
|
if RNS.vendor.platformutils.get_platform() == "android":
|
||||||
if self.config["debug"]:
|
# TODO: Just log to console for, but add option to export log
|
||||||
self.reticulum.logdest = RNS.LOG_FILE
|
# files at some point.
|
||||||
if not self.reticulum.is_connected_to_shared_instance:
|
# if self.config["debug"]:
|
||||||
self.reticulum.logfile = self.log_dir+"sideband_service.log"
|
# self.reticulum.logdest = RNS.LOG_FILE
|
||||||
else:
|
# if not self.reticulum.is_connected_to_shared_instance:
|
||||||
self.reticulum.logfile = self.log_dir+"sideband_core.log"
|
# self.reticulum.logfile = self.log_dir+"sideband_service.log"
|
||||||
|
# else:
|
||||||
|
# self.reticulum.logfile = self.log_dir+"sideband_core.log"
|
||||||
|
|
||||||
if not self.reticulum.is_connected_to_shared_instance:
|
if not self.reticulum.is_connected_to_shared_instance:
|
||||||
RNS.log("Running as master or standalone instance, adding interfaces")
|
RNS.log("Running as master or standalone instance, adding interfaces")
|
||||||
|
Loading…
Reference in New Issue
Block a user