Aiven-Open / Aiven-Open/karapace

Support for JSON log format

未關閉
#905 0 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
634
分支
110
平均合併
4 天 7 小時
30 天內合併 PR
4

描述

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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。