debian: remove warning about use of journald (#63283)

This commit is contained in:
Benjamin Dauvergne 2022-03-29 09:40:31 +02:00
parent 3fd93457f9
commit 5c1de7d4ad
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ if os.path.exists('/run/systemd/journal/socket') and not DISABLE_GLOBAL_HANDLERS
try:
from systemd import journal
except ImportError:
warnings.warn('journald will not be used directly, please install python-systemd')
pass
else:
LOGGING['handlers']['journald'] = {
'level': 'INFO',