mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-05-18 05:40:26 -04:00
Added log to console option for daemon mode
This commit is contained in:
parent
a6eac0d7ce
commit
7814712118
3 changed files with 24 additions and 7 deletions
|
@ -10,7 +10,10 @@ class NoneUI:
|
|||
self.app = NomadNetworkApp.get_shared_instance()
|
||||
self.app.ui = self
|
||||
|
||||
RNS.log("Nomad Network started in daemon mode, all further messages are logged to "+str(self.app.logfilepath), RNS.LOG_INFO, _override_destination=True)
|
||||
if not self.app.force_console_log:
|
||||
RNS.log("Nomad Network started in daemon mode, all further messages are logged to "+str(self.app.logfilepath), RNS.LOG_INFO, _override_destination=True)
|
||||
else:
|
||||
RNS.log("Nomad Network daemon started", RNS.LOG_INFO)
|
||||
|
||||
while True:
|
||||
time.sleep(1)
|
Loading…
Add table
Add a link
Reference in a new issue