You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.5 KiB
39 lines
1.5 KiB
4 years ago
|
syntax = "proto3";
|
||
|
|
||
4 years ago
|
package envoy.extensions.access_loggers.stream.v3;
|
||
4 years ago
|
|
||
|
import "envoy/config/core/v3/substitution_format_string.proto";
|
||
|
|
||
|
import "udpa/annotations/status.proto";
|
||
|
import "validate/validate.proto";
|
||
|
|
||
4 years ago
|
option java_package = "io.envoyproxy.envoy.extensions.access_loggers.stream.v3";
|
||
|
option java_outer_classname = "StreamProto";
|
||
4 years ago
|
option java_multiple_files = true;
|
||
|
option (udpa.annotations.file_status).package_version_status = ACTIVE;
|
||
|
|
||
4 years ago
|
// [#protodoc-title: Standard Streams Access loggers]
|
||
|
// [#extension: envoy.access_loggers.stream]
|
||
4 years ago
|
|
||
|
// 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.
|
||
4 years ago
|
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 {
|
||
4 years ago
|
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}];
|
||
|
}
|
||
|
}
|