envoyproxy/envoy

Allow fine-grain logging to be configurable via CLI arguments

開放

#41,028 建立於 2025年9月9日

 (1 則留言) (1 個反應) (0 位負責人)C++ (5,373 個分叉)batch import
area/envoy_logenhancementhelp wanted

倉庫指標

星標
 (27,997 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Title: Allow fine-grain logging to be configurable via CLI arguments

Description:

As discussed in Slack, it's currently not possible to change the fine-grain logging using CLI arguments. Currently it can only be configured via an admin endpoint. This is inconvenient because when deploying on Kubernetes, I can't easily configure the fine-grain logging building a container of my own. It's difficult (or at the very best a hack like a postStart with a sleep) to do it with a plain envoy image.

Suggestion: The suggestion given in Slack that @paul-r-gall and @botengyao seemed to prefer was the following:

Rather than having --enable-fine-grain-logging it would take configuration similar to --component-log-level, so something like --fine-grain-log-level(s) <string>.

貢獻者指南