Update dependency to cysystemd

closes #8187
This commit is contained in:
Matthias
2023-02-19 19:30:27 +01:00
parent b0ec35d526
commit e9c64c5839
4 changed files with 6 additions and 5 deletions

View File

@@ -103,7 +103,7 @@ def setup_logging(config: Config) -> None:
logging.root.addHandler(handler_sl)
elif s[0] == 'journald': # pragma: no cover
try:
from systemd.journal import JournaldLogHandler
from cysystemd.journal import JournaldLogHandler
except ImportError:
raise OperationalException("You need the systemd python package be installed in "
"order to use logging to journald.")