feeops commented on issue #5400: URL: https://github.com/apache/apisix/issues/5400#issuecomment-960489589
> You can add access log configuration in > > https://github.com/apache/apisix/blob/042ce5c1a6a4e040d6d6924f2d86e5534b730134/conf/config-default.yaml#L176 > > and render in the template. See https://nginx.org/en/docs/stream/ngx_stream_log_module.html 这个不起作用,可以在config.yaml中添加 ``` nginx_config: stream_configuration_snippet: | log_format basic '$remote_addr [$time_local] $protocol $status $bytes_sent $bytes_received $session_time $upstream_addr $upstream_bytes_sent $upstream_bytes_received $upstream_connect_time'; access_log logs/access_stream.log basic; ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
