From bda2ef00dde8c4e46d931abaf0af133f76ade385 Mon Sep 17 00:00:00 2001 From: Hemna Date: Fri, 12 Nov 2021 12:17:45 -0500 Subject: [PATCH] Fix admin logging tab --- ChangeLog | 10 ++++++++++ aprsd/flask.py | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 683b8fa..0a1521d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,16 @@ 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 ------ diff --git a/aprsd/flask.py b/aprsd/flask.py index 1e07829..9b7ce89 100644 --- a/aprsd/flask.py +++ b/aprsd/flask.py @@ -19,7 +19,7 @@ from werkzeug.security import check_password_hash, generate_password_hash import aprsd from aprsd import client 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 @@ -500,7 +500,7 @@ class LogMonitorThread(threads.APRSDThread): def loop(self): global socketio 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) socketio.emit( "log_entry", json_record,