Re: ngx_stream_log_module log_format not working

2019-03-18 Thread CCS
This worked for me without and issue. Try and copy. log_format proxy '$remote_addr [$time_local]' 'with SSL Server name "$ssl_server_name" ' 'proxying to "$selected_upstream" ' '$protocol $status $bytes_sent $bytes_receiv

Re: ngx_stream_log_module log_format not working

2019-03-17 Thread Francis Daly
On Sun, Mar 17, 2019 at 01:21:32AM -0400, yuy wrote: Hi there, > I am trying to enable access log for stream on 1.15.9-1~xenial but > log_format definition doesn't seem to work. Config syntax check fails as if > stream log_format was not defined The error reports that "proxy" is unknown on line

ngx_stream_log_module log_format not working

2019-03-16 Thread yuy
I am trying to enable access log for stream on 1.15.9-1~xenial but log_format definition doesn't seem to work. Config syntax check fails as if stream log_format was not defined > $ cat nginx.conf user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid/var/run/ng