Skip to content

Commit

Permalink
Can suppress warnings for invalid drains (Windows)
Browse files Browse the repository at this point in the history
In b64e1ee we made warnings for invalid syslog drains configurable but
neglected to add the same property to the loggr-syslog-agent-windows
job.
  • Loading branch information
acrmp committed Nov 8, 2023
1 parent 395722e commit 92bff5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
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

0 comments on commit 92bff5e

Please sign in to comment.