ngx_stream_log_module

Module ngx_stream_log_module

The ngx_stream_log_module module (1.11.4) writes session logs in the specified format.

Example Configuration

log_format basic '$remote_addr [$time_local] '
                 '$protocol $status $bytes_sent $bytes_received '
                 '$session_time';

access_log /spool/logs/nginx-access.log basic buffer=32k;

Directives

Syntax: access_log path format [buffer=size登录查看完整内容