detect if the journal has been rotated?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- observability-sre, operating-systems
Direzione di ricerca
Start with the journal poll() and get_end() entry points mentioned in the issue, then investigate how journald rotation affects the event stream. Determine whether the library exposes a reliable rotation signal or requires reopening after stale polling; done means documenting or implementing a clear detection path.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I'm using the poll method to tail the journald log in real time. However, when the journal is rotated, I predictably stop getting the next event. I seem to be able to use the get_end() method to detect the end of the journal - so I can re-open the journal after a certain period of stale time. But I was wondering if there is a more reliably method for detecting that the journal has been rotated so I can re-open the journal right away?
Thanks for the helpful library!
- Lingua principale
- C
- Stelle
- 522
- Fork
- 79
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di systemd/python-systemd
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
systemd/python-systemd#177 · 1 commento · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
systemd/python-systemd#169 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
systemd/python-systemd#167 · 19 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
systemd/python-systemd#152 · 1 commento · 13 reazioni ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
systemd/python-systemd#146 · 2 commenti ·
Tutte le issue di systemd/python-systemd
Issue simili
-
Status: Waiting triage Type: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
nanoframework/Home#1857 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
libsdl-org/SDL#16372 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
corazawaf/coraza-nginx#140 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100