1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-18 06:11:49 -05:00

Fix admin logging tab

This commit is contained in:
Hemna 2021-11-12 12:17:45 -05:00
parent 446484e631
commit bda2ef00dd
2 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,16 @@
CHANGES CHANGES
======= =======
v2.5.2
------
* Added new list-plugins command
* Don't require check-version command to have a config
* Healthcheck command doesn't need the aprsd.yml config
* Fix test failures
* Removed requirement for aprs.fi key
* Updated Changelog
v2.5.1 v2.5.1
------ ------

View File

@ -19,7 +19,7 @@ from werkzeug.security import check_password_hash, generate_password_hash
import aprsd import aprsd
from aprsd import client from aprsd import client
from aprsd import config as aprsd_config from aprsd import config as aprsd_config
from aprsd import messaging, packets, plugin, stats, threads, utils from aprsd import log, messaging, packets, plugin, stats, threads, utils
from aprsd.clients import aprsis from aprsd.clients import aprsis
@ -500,7 +500,7 @@ class LogMonitorThread(threads.APRSDThread):
def loop(self): def loop(self):
global socketio global socketio
try: try:
record = threads.logging_queue.get(block=True, timeout=5) record = log.logging_queue.get(block=True, timeout=5)
json_record = self.json_record(record) json_record = self.json_record(record)
socketio.emit( socketio.emit(
"log_entry", json_record, "log_entry", json_record,