Adds Access loggers to admin interface (#15461)

Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>

Mirrored from https://github.com/envoyproxy/envoy @ 056410787cdd4898504eeb785a21414e54749225
pull/624/head
data-plane-api(Azure Pipelines) 4 years ago
parent 09131ee070
commit c2656b4bb4
  1. 1
      envoy/config/bootstrap/v3/BUILD
  2. 9
      envoy/config/bootstrap/v3/bootstrap.proto
  3. 1
      envoy/config/bootstrap/v4alpha/BUILD
  4. 13
      envoy/config/bootstrap/v4alpha/bootstrap.proto

@ -6,6 +6,7 @@ licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/config/accesslog/v3:pkg",
"//envoy/config/bootstrap/v2:pkg",
"//envoy/config/cluster/v3:pkg",
"//envoy/config/core/v3:pkg",

@ -2,6 +2,7 @@ syntax = "proto3";
package envoy.config.bootstrap.v3;
import "envoy/config/accesslog/v3/accesslog.proto";
import "envoy/config/cluster/v3/cluster.proto";
import "envoy/config/core/v3/address.proto";
import "envoy/config/core/v3/base.proto";
@ -295,13 +296,19 @@ message Bootstrap {
// Administration interface :ref:`operations documentation
// <operations_admin_interface>`.
// [#next-free-field: 6]
message Admin {
option (udpa.annotations.versioning).previous_message_type = "envoy.config.bootstrap.v2.Admin";
// Configuration for :ref:`access logs <arch_overview_access_logs>`
// emitted by the administration server.
repeated accesslog.v3.AccessLog access_log = 5;
// The path to write the access log for the administration server. If no
// access log is desired specify /dev/null. This is only required if
// :ref:`address <envoy_api_field_config.bootstrap.v3.Admin.address>` is set.
string access_log_path = 1;
// Deprecated in favor of *access_log* which offers more options.
string access_log_path = 1 [deprecated = true];
// The cpu profiler output path for the administration server. If no profile
// path is specified, the default is /var/log/envoy/envoy.prof.

@ -6,6 +6,7 @@ licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/config/accesslog/v4alpha:pkg",
"//envoy/config/bootstrap/v3:pkg",
"//envoy/config/cluster/v4alpha:pkg",
"//envoy/config/core/v4alpha:pkg",

@ -2,6 +2,7 @@ syntax = "proto3";
package envoy.config.bootstrap.v4alpha;
import "envoy/config/accesslog/v4alpha/accesslog.proto";
import "envoy/config/cluster/v4alpha/cluster.proto";
import "envoy/config/core/v4alpha/address.proto";
import "envoy/config/core/v4alpha/base.proto";
@ -278,13 +279,17 @@ message Bootstrap {
// Administration interface :ref:`operations documentation
// <operations_admin_interface>`.
// [#next-free-field: 6]
message Admin {
option (udpa.annotations.versioning).previous_message_type = "envoy.config.bootstrap.v3.Admin";
// The path to write the access log for the administration server. If no
// access log is desired specify /dev/null. This is only required if
// :ref:`address <envoy_api_field_config.bootstrap.v4alpha.Admin.address>` is set.
string access_log_path = 1;
reserved 1;
reserved "access_log_path";
// Configuration for :ref:`access logs <arch_overview_access_logs>`
// emitted by the administration server.
repeated accesslog.v4alpha.AccessLog access_log = 5;
// The cpu profiler output path for the administration server. If no profile
// path is specified, the default is /var/log/envoy/envoy.prof.

Loading…
Cancel
Save