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

日志切割配置以GB为单位不生效(zlog版本:1.2.12) #234

Open
ldcsaa opened this issue Jul 20, 2023 · 1 comment
Open

日志切割配置以GB为单位不生效(zlog版本:1.2.12) #234

ldcsaa opened this issue Jul 20, 2023 · 1 comment

Comments

@ldcsaa
Copy link

ldcsaa commented Jul 20, 2023

以下配置不会分割日志文件

[rules]
dev_trans.* "./log/dev_trans.log", 1GB*10; json

改为以下配置则会分割日志文件

[rules]
dev_trans.* "./log/dev_trans.log", 1024MB*10; json
@Monkey-LaoHan
Copy link

我提了PR了
#233

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