<div dir="ltr">I'm using nginx 1.12.1 to proxy TCP and UDP streams. I have in my stream {} stanza:<div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>  log_format  test  '$time_local';</div><div><br></div><div>  access_log  /var/log/nginx/stream-access.log  test  buffer=64k  flush=1s;</div><div>  error_log   /var/log/nginx/stream-info.log    info;</div></div></blockquote><div><br></div><div>Both TCP and UDP streams log to <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">/var/log/nginx/stream-info.log</span>. Only TCP streams are logged in <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">/var/log/nginx/stream-access.log</span>; UDP streams are not.</div><div><br></div><div>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.<div><br></div><div>Is this lack of UDP stream access_log logging expected, or should I open a new bug?</div><div><br></div><div>If you need to see more details to show exactly what I'm doing, let me know which details would be helpful.</div><div><br></div><div>Thanks!</div><div>David</div></div></div></div>