Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operators can suppress warnings for invalid drains (Windows) #425

Merged
merged 1 commit into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion jobs/loggr-syslog-agent-windows/monit
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@
"METRICS_CERT_FILE_PATH" => "#{certs_dir}/metrics.crt",
"METRICS_KEY_FILE_PATH" => "#{certs_dir}/metrics.key",
"DEBUG_METRICS" => "#{p("metrics.debug")}",
"PPROF_PORT" => "#{p("metrics.pprof_port")}",
"PPROF_PORT" => "#{p("metrics.pprof_port")}",
"USE_RFC3339" => "#{p("logging.format.timestamp") == "rfc3339"}",
"WARN_ON_INVALID_DRAINS" => "#{p("warn_on_invalid_drains")}",
}
}
if_p("drain_cipher_suites") do | ciphers |
Expand Down
4 changes: 4 additions & 0 deletions jobs/loggr-syslog-agent-windows/spec
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,7 @@ properties:
logging.format.timestamp:
description: "Format for timestamp in component logs. Valid values are 'deprecated' and 'rfc3339'."
default: "deprecated"

warn_on_invalid_drains:
description: "Whether to output log warnings on invalid drains"
default: true
Loading