go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

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

Open hyjcls opened this issue 1 year ago • 2 comments

切割结果是这样的,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 avatar Oct 18 '24 01:10 hyjcls

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

kevwan avatar Oct 26 '24 06:10 kevwan

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Oct 30 '25 02:10 github-actions[bot]