mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-04-27 14:20:35 +00:00
Allow setting logfile destination before RNS init
This commit is contained in:
parent
6a7f081f12
commit
c1def5da19
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ class Reticulum:
|
|||
|
||||
if logdest == RNS.LOG_FILE:
|
||||
RNS.logdest = RNS.LOG_FILE
|
||||
RNS.logfile = Reticulum.configdir+"/logfile"
|
||||
RNS.logfile = RNS.logfile or Reticulum.configdir+"/logfile"
|
||||
elif callable(logdest):
|
||||
RNS.logdest = RNS.LOG_CALLBACK
|
||||
RNS.logcall = logdest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue