Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Nginx 的 error_log 并不支持设置为 off #7161

Open
Xeath opened this issue Nov 23, 2024 · 1 comment
Open

[Bug] Nginx 的 error_log 并不支持设置为 off #7161

Xeath opened this issue Nov 23, 2024 · 1 comment

Comments

@Xeath
Copy link

Xeath commented Nov 23, 2024

联系方式

None

1Panel 版本

1.10.21-lts

问题描述

Nginx 官方文档中关于 error_log 并未说明支持 off,并且直接写入日志到 nginx 所在工作目录下的 off 文件。
截屏2024-11-23 18 06 07

重现步骤

创建一个站点,然后进去站点设置,点击日志,在左侧菜单中进入错误日志,关闭日志记录功能。

期待的正确结果

改用 error_log /dev/null 或者不指定该配置。

相关日志输出

附加信息

@wanghe-fit2cloud
Copy link
Member

感谢反馈,我们先在本地环境调研一下该需求。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants