Aiven-Open / Aiven-Open/karapace

Support for JSON log format

Aperta
#905 0 commenti 4 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
634
Fork
110
Merge medio
4g 7h
PR unite (30g)
4

Descrizione

When running karapace in a container on a platform that includes centralized logging, it would be helpful to be able to output the logs formatted as JSON. I tried doing this with the KARAPACE_LOG_FORMAT option. This works for most of the log lines, but some log lines include double quotes and these will then corrupt the outputted JSON.

Native JSON output or at least a way to use the log_format to generate valid JSON would help a lot to be able to ingest the logs.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.