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

docker部署,无法关闭日志 #159

Open
star7th opened this issue May 17, 2022 · 2 comments
Open

docker部署,无法关闭日志 #159

star7th opened this issue May 17, 2022 · 2 comments
Assignees
Labels

Comments

@star7th
Copy link

star7th commented May 17, 2022

其实跟此问题有点类似 #158

我设置了环境变量APP_ENV=prod以及ENABLE_LOG_FILE=false,依然有大量日志

@BobNeer
Copy link

BobNeer commented Jun 21, 2022

日志关闭还是没用吗?我又删了一遍log文件

@Germey
Copy link
Member

Germey commented Jul 10, 2022

我测试了下 ENABLE_LOG_FILE 设置为 false 是可以的。

另外刚刚新增了 LOG_ROTATION 的设置,默认 500MB,也可以通过环境变量设置。

可以使用下最新版。

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

No branches or pull requests

3 participants