Fix ErrorLogLevel in stream contexts

This commit is contained in:
m22r 2020-11-27 14:29:43 +09:00
parent 0a43ba34b8
commit 612a604fa4

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 }}