Versions:
- Debian 9 (Stretch)
- python3 3.5.3-1
- python3-system 233-1
- systemd 232-25+deb9u
... but as far as I can tell from _reader.c it applies to master (a402d08) as well.
For example:
journal_reader.add_match(_SYSTEMD_UNIT="kres*")
always returns empty output. At the same time command journalctl -u 'kres*' lists log for units kresd@dns1, kresd@dns2, kres-cache-gc etc.
It would be nice if the Python API could do the same. For now I'm going to resort calling journalctl as subprocess.
Versions:
... but as far as I can tell from _reader.c it applies to master (a402d08) as well.
For example:
always returns empty output. At the same time command
journalctl -u 'kres*'lists log for unitskresd@dns1,kresd@dns2,kres-cache-gcetc.It would be nice if the Python API could do the same. For now I'm going to resort calling journalctl as subprocess.