fix(logging): Add a static ProxLB prefix to the log output when used by journal handler

Fixes: #329
This commit is contained in:
gyptazy
2025-10-08 18:39:02 +02:00
parent afc93f7b21
commit af98ee8d5b
3 changed files with 4 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
fixed:
- Fix API errors when using conntrack aware migration with older PVE versions. (@gyptazy). [#318]
- Fix API errors when using conntrack aware migration with older PVE versions (@gyptazy). [#318]

View File

@@ -0,0 +1,2 @@
fixed:
- Add a static ProxLB prefix to the log output when used by journal handler (@gyptazy). [#329]

View File

@@ -88,7 +88,7 @@ class SystemdLogger:
# logging is preferred.
if SYSTEMD_PRESENT:
# Add a JournalHandler for systemd integration
handler = JournalHandler()
handler = JournalHandler(SYSLOG_IDENTIFIER="ProxLB")
else:
# Add a stdout handler as a fallback
handler = logging.StreamHandler(sys.stdout)