From ca5514f95055f51c967e52eb479182af0c07ca18 Mon Sep 17 00:00:00 2001 From: "data-plane-api(CircleCI)" Date: Fri, 14 Aug 2020 20:49:25 +0000 Subject: [PATCH] logger: support log control in admin interface and command line option for Fancy Logger (#12369) Add log control (list and modify log level) in admin interface for Fancy Logger, a new fine-grained logger for Envoy, and provide command line option --enable-fine-grain-logging for developers. Additional Description: A doc of overview is provided here: source/docs/fancy_logger.md. Risk Level: Medium Testing: Unit tests. Docs Changes: Added a new option --enable-fine-grain-logging and doc it. Release Notes: Added to current.rst. Signed-off-by: Jinhui Song Mirrored from https://github.com/envoyproxy/envoy @ b7138814dde530b8c2957e806ea40879a4fdce32 --- envoy/admin/v3/server_info.proto | 5 ++++- envoy/admin/v4alpha/server_info.proto | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/envoy/admin/v3/server_info.proto b/envoy/admin/v3/server_info.proto index 7f8ea456..b91303f3 100644 --- a/envoy/admin/v3/server_info.proto +++ b/envoy/admin/v3/server_info.proto @@ -54,7 +54,7 @@ message ServerInfo { CommandLineOptions command_line_options = 6; } -// [#next-free-field: 34] +// [#next-free-field: 35] message CommandLineOptions { option (udpa.annotations.versioning).previous_message_type = "envoy.admin.v2alpha.CommandLineOptions"; @@ -176,4 +176,7 @@ message CommandLineOptions { // See :option:`--bootstrap-version` for details. uint32 bootstrap_version = 29; + + // See :option:`--enable-fine-grain-logging` for details. + bool enable_fine_grain_logging = 34; } diff --git a/envoy/admin/v4alpha/server_info.proto b/envoy/admin/v4alpha/server_info.proto index e3e40ac2..3f3570af 100644 --- a/envoy/admin/v4alpha/server_info.proto +++ b/envoy/admin/v4alpha/server_info.proto @@ -54,7 +54,7 @@ message ServerInfo { CommandLineOptions command_line_options = 6; } -// [#next-free-field: 34] +// [#next-free-field: 35] message CommandLineOptions { option (udpa.annotations.versioning).previous_message_type = "envoy.admin.v3.CommandLineOptions"; @@ -175,4 +175,7 @@ message CommandLineOptions { // See :option:`--bootstrap-version` for details. uint32 bootstrap_version = 29; + + // See :option:`--enable-fine-grain-logging` for details. + bool enable_fine_grain_logging = 34; }