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

The config file uses daily log rotation, but only access.log and stat.log are rotating correctly, while the others are not. #4427

Open
hyjcls opened this issue Oct 18, 2024 · 1 comment

Comments

@hyjcls
Copy link

hyjcls commented Oct 18, 2024

切割结果是这样的,error.log和severe.log,slow.log无法分割
image
我的配置:
ServiceName: test
Mode: file
Rotation: daily
path: ./logs
Encoding: json
TimeFormat: 2006-01-02 15:04:05
Stat: true

@hyjcls hyjcls changed the title 配置文件使用daily分割log,只有access.log和stat.log可以正常分割,error.log、seveer 配置文件使用daily分割log,只有access.log和stat.log可以正常分割,其他无法分割 Oct 18, 2024
@kevwan kevwan changed the title 配置文件使用daily分割log,只有access.log和stat.log可以正常分割,其他无法分割 The config file uses daily log rotation, but only access.log and stat.log are rotating correctly, while the others are not. Oct 26, 2024
@kevwan
Copy link
Contributor

kevwan commented Oct 26, 2024

The log files rotate when printing logs. If there is no error, it will not rotate.

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