1
Je voudrais lire mes fedora fichiers journaux avec journal.Reader mais ce code:journal.Reader boucles infiniment
from systemd import journal
j = journal.Reader()
j.this_boot()
j.log_level(journal.LOG_DEBUG)
# j.add_match(_BOOT_ID="0")
for entry in j:
print(entry['MESSAGE'])
semble boucle indéfiniment. Je ne comprends pas pourquoi ou comment obtenir juste le démarrage actuel (_BOOT_ID = 0).
Merci