BE: logging fix and comments why eve_PendingAlertEmail not cleared
Some checks failed
Code checks / check-url-paths (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled

Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
jokob-sk
2025-11-01 17:58:22 +11:00
parent ff96d38339
commit e7ed9e0896
3 changed files with 33 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ sys.path.extend([f"{INSTALL_PATH}/server"])
# Register NetAlertX modules
import conf
from const import applicationPath, logPath, apiPath, reportTemplatesPath
from logger import mylog
from logger import mylog, Logger
from helper import generate_mac_links, \
removeDuplicateNewLines, \
timeNowTZ, \
@@ -46,6 +46,9 @@ class NotificationInstance:
);
""")
# Make sure log level is initialized correctly
Logger(get_setting_value('LOG_LEVEL'))
self.save()
# Method to override processing of notifications