Merge pull request #6529 from m22r/master

Fix ErrorLogLevel in stream contexts
This commit is contained in:
Kubernetes Prow Robot 2020-11-27 04:38:47 -08:00 committed by GitHub
commit beb2eff087
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -717,7 +717,7 @@ stream {
access_log {{ or $cfg.StreamAccessLogPath $cfg.AccessLogPath }} log_stream {{ $cfg.AccessLogParams }};
{{ end }}
error_log {{ $cfg.ErrorLogPath }};
error_log {{ $cfg.ErrorLogPath }} {{ $cfg.ErrorLogLevel }};
{{ if $cfg.EnableRealIp }}
{{ range $trusted_ip := $cfg.ProxyRealIPCIDR }}