Option to change log format to JSON
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 45/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- docker, shell
研究方向
先定位現有的 LOG_WITHOUT_NEWLINE 和 DISABLE_REQUEST_LOGS 選項,並追蹤請求記錄路徑。新增一種可選的 JSON 格式,讓每個請求輸出一行,然後確認輸出始終可解析,並保留所要求的記錄資訊。
由索引模型根據 Issue 內容生成。
描述
First off, thank you for putting in the work. This is a super helpful project.
I would appreciate it if it was possible to enable an option besides LOG_WITHOUT_NEWLINE and DISABLE_REQUEST_LOGS to have one line per request in the log output formatted as JSON.
One of the reasons is that I don't use the logs on the host machine directly. They might get scraped and processed out of order by Loki, so they might not end up next to each other. The second reason is that it would be simpler to parse them when they had the same format.
- 主要語言
- Shell
- 星號
- 792
- 分支
- 152
- 平均合併
- 3 天 18 小時
- 30 天內合併 PR
- 3
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
mendhak/docker-http-https-echo 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 72/100
-
難度 4/5 3-5 天 新手友好度 42/100
mendhak/docker-http-https-echo#86 · 3 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
mendhak/docker-http-https-echo#80 · 2 則留言 ·
-
難度 5/5 一週以上 新手友好度 35/100
-
難度 3/5 1-2 天 新手友好度 38/100
mendhak/docker-http-https-echo#60 · 1 則留言 ·
查看 mendhak/docker-http-https-echo 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 70/100
-
難度 1/5 1 小時以內 新手友好度 85/100
-
難度 2/5 1-3 小時 新手友好度 75/100
-
bug easy help wanted
難度 2/5 1-3 小時 新手友好度 75/100
lacs-project/sysknife#503 ·
-
help wanted kind/documentation
難度 2/5 1-3 小時 新手友好度 75/100
liquidmetal-dev/flintlock#1239 ·