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

修改config_log_dir后无日志产生 #30

Open
Lyuke-liu opened this issue Sep 22, 2020 · 2 comments
Open

修改config_log_dir后无日志产生 #30

Lyuke-liu opened this issue Sep 22, 2020 · 2 comments

Comments

@Lyuke-liu
Copy link

修改了config.lua下的config_log_dir,重载nginx后未生效,原/tmp目录下也无日志
环境说明
CentOS Linux release 7.6.1810
nginx-1.18.0
openresty-1.17.8.2
ngx_devel_kit-0.3.0
LuaJIT-2.0.5
lua-nginx-module-0.10.10

@ghost
Copy link

ghost commented Oct 5, 2020

我也遇过类似问题。手动创建用来的存放日志的目录。保证nginx对目录有访问权限。最后在 config.lua 修改 config_log_dir

@aceslup
Copy link

aceslup commented Aug 27, 2022

目标权限需要worker进程能读写。

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

No branches or pull requests

2 participants