[GH-ISSUE #818] stream日志配置不了吗 #1819

Closed
opened 2026-02-27 12:13:58 +03:00 by kerem · 0 comments
Owner

Originally created by @wtjperi2003 on GitHub (Jan 13, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/818

Describe the bug
stream里配置一个能记录tcp连接的日志

配置如下
Steps to reproduce the behavior:
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;

是不是nginx里少了ngx_stream_log_module模块
官网的配置文档

Originally created by @wtjperi2003 on GitHub (Jan 13, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/818 **Describe the bug** stream里配置一个能记录tcp连接的日志 配置如下 Steps to reproduce the behavior: 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; 是不是nginx里少了ngx_stream_log_module模块 [官网的配置文档](https://nginx.org/en/docs/stream/ngx_stream_log_module.html)
kerem 2026-02-27 12:13:58 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#1819
No description provided.