no access_log logging for UDP streams

David Kewley dkewley at uci.edu
Tue Feb 13 21:01:03 UTC 2018


I'm using nginx 1.12.1 to proxy TCP and UDP streams. I have in my stream {}
stanza:

  log_format  test  '$time_local';

  access_log  /var/log/nginx/stream-access.log  test  buffer=64k  flush=1s;
  error_log   /var/log/nginx/stream-info.log    info;


Both TCP and UDP streams log to /var/log/nginx/stream-info.log. Only TCP
streams are logged in /var/log/nginx/stream-access.log; UDP streams are not.

FWIW, client application behavior and tcpdump both show that the upstream
UDP server is sending a response that makes it through nginx proxy to the
client just fine.

Is this lack of UDP stream access_log logging expected, or should I open a
new bug?

If you need to see more details to show exactly what I'm doing, let me know
which details would be helpful.

Thanks!
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180213/d94db52b/attachment.html>


More information about the nginx mailing list