Rename access log streams to make it more friendly to posix terminology (#15721)
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com> Mirrored from https://github.com/envoyproxy/envoy @ 98fb5d6f8fe09a88218598d757756e702857dd03pull/624/head
parent
80c2b65417
commit
3da9310024
11 changed files with 65 additions and 125 deletions
@ -1,27 +0,0 @@ |
|||||||
syntax = "proto3"; |
|
||||||
|
|
||||||
package envoy.extensions.access_loggers.stderror.v3; |
|
||||||
|
|
||||||
import "envoy/config/core/v3/substitution_format_string.proto"; |
|
||||||
|
|
||||||
import "udpa/annotations/status.proto"; |
|
||||||
import "validate/validate.proto"; |
|
||||||
|
|
||||||
option java_package = "io.envoyproxy.envoy.extensions.access_loggers.stderror.v3"; |
|
||||||
option java_outer_classname = "StderrorProto"; |
|
||||||
option java_multiple_files = true; |
|
||||||
option (udpa.annotations.file_status).package_version_status = ACTIVE; |
|
||||||
|
|
||||||
// [#protodoc-title: Standard Error access log] |
|
||||||
// [#extension: envoy.access_loggers.stderror] |
|
||||||
|
|
||||||
// Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.accesslog.v3.AccessLog>` |
|
||||||
// that writes log entries directly to the operating system's standard error. |
|
||||||
message StdErrorAccessLog { |
|
||||||
oneof access_log_format { |
|
||||||
// Configuration to form access log data and format. |
|
||||||
// If not specified, use :ref:`default format <config_access_log_default_format>`. |
|
||||||
config.core.v3.SubstitutionFormatString log_format = 1 |
|
||||||
[(validate.rules).message = {required: true}]; |
|
||||||
} |
|
||||||
} |
|
@ -1,31 +0,0 @@ |
|||||||
syntax = "proto3"; |
|
||||||
|
|
||||||
package envoy.extensions.access_loggers.stderror.v4alpha; |
|
||||||
|
|
||||||
import "envoy/config/core/v4alpha/substitution_format_string.proto"; |
|
||||||
|
|
||||||
import "udpa/annotations/status.proto"; |
|
||||||
import "udpa/annotations/versioning.proto"; |
|
||||||
import "validate/validate.proto"; |
|
||||||
|
|
||||||
option java_package = "io.envoyproxy.envoy.extensions.access_loggers.stderror.v4alpha"; |
|
||||||
option java_outer_classname = "StderrorProto"; |
|
||||||
option java_multiple_files = true; |
|
||||||
option (udpa.annotations.file_status).package_version_status = NEXT_MAJOR_VERSION_CANDIDATE; |
|
||||||
|
|
||||||
// [#protodoc-title: Standard Error access log] |
|
||||||
// [#extension: envoy.access_loggers.stderror] |
|
||||||
|
|
||||||
// Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.accesslog.v4alpha.AccessLog>` |
|
||||||
// that writes log entries directly to the operating system's standard error. |
|
||||||
message StdErrorAccessLog { |
|
||||||
option (udpa.annotations.versioning).previous_message_type = |
|
||||||
"envoy.extensions.access_loggers.stderror.v3.StdErrorAccessLog"; |
|
||||||
|
|
||||||
oneof access_log_format { |
|
||||||
// Configuration to form access log data and format. |
|
||||||
// If not specified, use :ref:`default format <config_access_log_default_format>`. |
|
||||||
config.core.v4alpha.SubstitutionFormatString log_format = 1 |
|
||||||
[(validate.rules).message = {required: true}]; |
|
||||||
} |
|
||||||
} |
|
@ -1,12 +0,0 @@ |
|||||||
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py. |
|
||||||
|
|
||||||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") |
|
||||||
|
|
||||||
licenses(["notice"]) # Apache 2 |
|
||||||
|
|
||||||
api_proto_package( |
|
||||||
deps = [ |
|
||||||
"//envoy/config/core/v3:pkg", |
|
||||||
"@com_github_cncf_udpa//udpa/annotations:pkg", |
|
||||||
], |
|
||||||
) |
|
@ -1,13 +0,0 @@ |
|||||||
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py. |
|
||||||
|
|
||||||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") |
|
||||||
|
|
||||||
licenses(["notice"]) # Apache 2 |
|
||||||
|
|
||||||
api_proto_package( |
|
||||||
deps = [ |
|
||||||
"//envoy/config/core/v4alpha:pkg", |
|
||||||
"//envoy/extensions/access_loggers/stdoutput/v3:pkg", |
|
||||||
"@com_github_cncf_udpa//udpa/annotations:pkg", |
|
||||||
], |
|
||||||
) |
|
@ -1,31 +0,0 @@ |
|||||||
syntax = "proto3"; |
|
||||||
|
|
||||||
package envoy.extensions.access_loggers.stdoutput.v4alpha; |
|
||||||
|
|
||||||
import "envoy/config/core/v4alpha/substitution_format_string.proto"; |
|
||||||
|
|
||||||
import "udpa/annotations/status.proto"; |
|
||||||
import "udpa/annotations/versioning.proto"; |
|
||||||
import "validate/validate.proto"; |
|
||||||
|
|
||||||
option java_package = "io.envoyproxy.envoy.extensions.access_loggers.stdoutput.v4alpha"; |
|
||||||
option java_outer_classname = "StdoutputProto"; |
|
||||||
option java_multiple_files = true; |
|
||||||
option (udpa.annotations.file_status).package_version_status = NEXT_MAJOR_VERSION_CANDIDATE; |
|
||||||
|
|
||||||
// [#protodoc-title: Standard Output access log] |
|
||||||
// [#extension: envoy.access_loggers.stdoutput] |
|
||||||
|
|
||||||
// Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.accesslog.v4alpha.AccessLog>` |
|
||||||
// that writes log entries directly to the operating system's standard output. |
|
||||||
message StdoutputAccessLog { |
|
||||||
option (udpa.annotations.versioning).previous_message_type = |
|
||||||
"envoy.extensions.access_loggers.stdoutput.v3.StdoutputAccessLog"; |
|
||||||
|
|
||||||
oneof access_log_format { |
|
||||||
// Configuration to form access log data and format. |
|
||||||
// If not specified, use :ref:`default format <config_access_log_default_format>`. |
|
||||||
config.core.v4alpha.SubstitutionFormatString log_format = 1 |
|
||||||
[(validate.rules).message = {required: true}]; |
|
||||||
} |
|
||||||
} |
|
@ -1,23 +1,34 @@ |
|||||||
syntax = "proto3"; |
syntax = "proto3"; |
||||||
|
|
||||||
package envoy.extensions.access_loggers.stdoutput.v3; |
package envoy.extensions.access_loggers.stream.v3; |
||||||
|
|
||||||
import "envoy/config/core/v3/substitution_format_string.proto"; |
import "envoy/config/core/v3/substitution_format_string.proto"; |
||||||
|
|
||||||
import "udpa/annotations/status.proto"; |
import "udpa/annotations/status.proto"; |
||||||
import "validate/validate.proto"; |
import "validate/validate.proto"; |
||||||
|
|
||||||
option java_package = "io.envoyproxy.envoy.extensions.access_loggers.stdoutput.v3"; |
option java_package = "io.envoyproxy.envoy.extensions.access_loggers.stream.v3"; |
||||||
option java_outer_classname = "StdoutputProto"; |
option java_outer_classname = "StreamProto"; |
||||||
option java_multiple_files = true; |
option java_multiple_files = true; |
||||||
option (udpa.annotations.file_status).package_version_status = ACTIVE; |
option (udpa.annotations.file_status).package_version_status = ACTIVE; |
||||||
|
|
||||||
// [#protodoc-title: Standard Output access log] |
// [#protodoc-title: Standard Streams Access loggers] |
||||||
// [#extension: envoy.access_loggers.stdoutput] |
// [#extension: envoy.access_loggers.stream] |
||||||
|
|
||||||
// Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.accesslog.v3.AccessLog>` |
// Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.accesslog.v3.AccessLog>` |
||||||
// that writes log entries directly to the operating system's standard output. |
// that writes log entries directly to the operating system's standard output. |
||||||
message StdoutputAccessLog { |
message StdoutAccessLog { |
||||||
|
oneof access_log_format { |
||||||
|
// Configuration to form access log data and format. |
||||||
|
// If not specified, use :ref:`default format <config_access_log_default_format>`. |
||||||
|
config.core.v3.SubstitutionFormatString log_format = 1 |
||||||
|
[(validate.rules).message = {required: true}]; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
// Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.accesslog.v3.AccessLog>` |
||||||
|
// that writes log entries directly to the operating system's standard error. |
||||||
|
message StderrAccessLog { |
||||||
oneof access_log_format { |
oneof access_log_format { |
||||||
// Configuration to form access log data and format. |
// Configuration to form access log data and format. |
||||||
// If not specified, use :ref:`default format <config_access_log_default_format>`. |
// If not specified, use :ref:`default format <config_access_log_default_format>`. |
@ -0,0 +1,45 @@ |
|||||||
|
syntax = "proto3"; |
||||||
|
|
||||||
|
package envoy.extensions.access_loggers.stream.v4alpha; |
||||||
|
|
||||||
|
import "envoy/config/core/v4alpha/substitution_format_string.proto"; |
||||||
|
|
||||||
|
import "udpa/annotations/status.proto"; |
||||||
|
import "udpa/annotations/versioning.proto"; |
||||||
|
import "validate/validate.proto"; |
||||||
|
|
||||||
|
option java_package = "io.envoyproxy.envoy.extensions.access_loggers.stream.v4alpha"; |
||||||
|
option java_outer_classname = "StreamProto"; |
||||||
|
option java_multiple_files = true; |
||||||
|
option (udpa.annotations.file_status).package_version_status = NEXT_MAJOR_VERSION_CANDIDATE; |
||||||
|
|
||||||
|
// [#protodoc-title: Standard Streams Access loggers] |
||||||
|
// [#extension: envoy.access_loggers.stream] |
||||||
|
|
||||||
|
// Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.accesslog.v4alpha.AccessLog>` |
||||||
|
// that writes log entries directly to the operating system's standard output. |
||||||
|
message StdoutAccessLog { |
||||||
|
option (udpa.annotations.versioning).previous_message_type = |
||||||
|
"envoy.extensions.access_loggers.stream.v3.StdoutAccessLog"; |
||||||
|
|
||||||
|
oneof access_log_format { |
||||||
|
// Configuration to form access log data and format. |
||||||
|
// If not specified, use :ref:`default format <config_access_log_default_format>`. |
||||||
|
config.core.v4alpha.SubstitutionFormatString log_format = 1 |
||||||
|
[(validate.rules).message = {required: true}]; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
// Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.accesslog.v4alpha.AccessLog>` |
||||||
|
// that writes log entries directly to the operating system's standard error. |
||||||
|
message StderrAccessLog { |
||||||
|
option (udpa.annotations.versioning).previous_message_type = |
||||||
|
"envoy.extensions.access_loggers.stream.v3.StderrAccessLog"; |
||||||
|
|
||||||
|
oneof access_log_format { |
||||||
|
// Configuration to form access log data and format. |
||||||
|
// If not specified, use :ref:`default format <config_access_log_default_format>`. |
||||||
|
config.core.v4alpha.SubstitutionFormatString log_format = 1 |
||||||
|
[(validate.rules).message = {required: true}]; |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue