mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
systemd-python: add Journal class for reading journal
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
9015fa646e
commit
c4e9b5b557
1163
src/python-systemd/_reader.c
Normal file
1163
src/python-systemd/_reader.c
Normal file
File diff suppressed because it is too large
Load Diff
@@ -25,6 +25,8 @@ import logging as _logging
|
||||
from syslog import (LOG_EMERG, LOG_ALERT, LOG_CRIT, LOG_ERR,
|
||||
LOG_WARNING, LOG_NOTICE, LOG_INFO, LOG_DEBUG)
|
||||
from ._journal import sendv, stream_fd
|
||||
from ._reader import (Journal, NOP, APPEND, INVALIDATE,
|
||||
LOCAL_ONLY, RUNTIME_ONLY, SYSTEM_ONLY)
|
||||
|
||||
def _make_line(field, value):
|
||||
if isinstance(value, bytes):
|
||||
|
||||
Reference in New Issue
Block a user