No support for LOG_NOTICE or LOG_EMERG
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- observability-sre
Direzione di ricerca
Start at the JournalHandler.map_priority entry point mentioned in the issue and read the surrounding logging documentation to understand the current priority mapping. Determine the intended behavior for LOG_NOTICE and LOG_EMERG, then add coverage and make the supported mapping explicit in the documentation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
There does not seem to be support for LOG_NOTICE or LOG_EMERG. Any level higher than logging.CRITICAL is mapped to LOG_ALERT. I presume there is a reason for this but could not discern that from the docs.
If one wished to support these levels I suppose they could subclass JournalHandler and override map_priority. Is that right?
- 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