mirror of
https://github.com/craigerl/aprsd.git
synced 2026-06-07 00:24:41 -04:00
Add log info for Beacon and Registry threads
This commit is contained in:
@@ -26,6 +26,11 @@ class APRSRegistryThread(aprsd_threads.APRSDThread):
|
||||
"APRS Registry thread is STOPPING.",
|
||||
)
|
||||
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):
|
||||
# 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.",
|
||||
)
|
||||
self.stop()
|
||||
LOG.info(
|
||||
"Beacon thread is running and will send "
|
||||
f"beacons every {CONF.beacon_interval} seconds.",
|
||||
)
|
||||
|
||||
def loop(self):
|
||||
# Only dump out the stats every N seconds
|
||||
|
||||
Reference in New Issue
Block a user