mirror of
https://github.com/craigerl/aprsd.git
synced 2025-09-02 21:27:56 -04:00
Add log info for Beacon and Registry threads
This commit is contained in:
parent
6a7d7ad79b
commit
a4630c15be
@ -26,6 +26,11 @@ class APRSRegistryThread(aprsd_threads.APRSDThread):
|
|||||||
"APRS Registry thread is STOPPING.",
|
"APRS Registry thread is STOPPING.",
|
||||||
)
|
)
|
||||||
self.stop()
|
self.stop()
|
||||||
|
LOG.info(
|
||||||
|
"APRS Registry thread is running and will send "
|
||||||
|
f"info every {CONF.aprs_registry.frequency_seconds} seconds "
|
||||||
|
f"to {CONF.aprs_registry.registry_url}.",
|
||||||
|
)
|
||||||
|
|
||||||
def loop(self):
|
def loop(self):
|
||||||
# Only call the registry every N seconds
|
# Only call the registry every N seconds
|
||||||
|
@ -214,6 +214,10 @@ class BeaconSendThread(aprsd_threads.APRSDThread):
|
|||||||
"Beacon will not be sent and thread is STOPPED.",
|
"Beacon will not be sent and thread is STOPPED.",
|
||||||
)
|
)
|
||||||
self.stop()
|
self.stop()
|
||||||
|
LOG.info(
|
||||||
|
"Beacon thread is running and will send "
|
||||||
|
f"beacons every {CONF.beacon_interval} seconds.",
|
||||||
|
)
|
||||||
|
|
||||||
def loop(self):
|
def loop(self):
|
||||||
# Only dump out the stats every N seconds
|
# Only dump out the stats every N seconds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user