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

日志库 Panic #56

Open
YIDWang opened this issue Jan 7, 2022 · 0 comments
Open

日志库 Panic #56

YIDWang opened this issue Jan 7, 2022 · 0 comments

Comments

@YIDWang
Copy link
Contributor

YIDWang commented Jan 7, 2022

通过 InitGlobalRoller 更新 roller 从 log.Roller{MaxTime: 24 * 60 * 60} 到 log.Roller{MaxSize: 100, MaxAge: 7, MaxBackups: 10} 发生 panic。
目前只支持:修改 MaxSize 字段吗?而且 MaxSize 这个字段不可以修改为0。

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

Successfully merging a pull request may close this issue.

1 participant