Welcome! Log In Create A New Profile

Advanced

no access_log logging for UDP streams

David Kewley
February 13, 2018 04:04PM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

no access_log logging for UDP streams

David Kewley February 13, 2018 04:04PM

Re: no access_log logging for UDP streams

Roman Arutyunyan February 14, 2018 09:02AM

Re: no access_log logging for UDP streams

David Kewley February 14, 2018 05:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 273
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready