bisakhmondal commented on a change in pull request #5768: URL: https://github.com/apache/apisix/pull/5768#discussion_r766838032
########## File path: apisix/cli/ngx_tpl.lua ########## @@ -84,6 +84,16 @@ stream { lua_ssl_trusted_certificate {* ssl.ssl_trusted_certificate *}; {% end %} + # for stream logs + {% if stream.enable_access_log == false then %} + access_log off; + {% else %} + log_format main escape={* stream.access_log_format_escape *} '{* stream.access_log_format *}'; + + access_log {* stream.access_log *} main buffer=16384 flush=3; + {% end %} + open_log_file_cache max=1000 inactive=60; Review comment: Ack. Thanks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org