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

Bug(logger): 当日初次启动时输出过多日志将使Koishi崩溃重启 #326

Closed
Hieuzest opened this issue May 4, 2024 · 0 comments

Comments

@Hieuzest
Copy link
Contributor

Hieuzest commented May 4, 2024

files[date].push(index)

首次初始化的writer将无此files[date]项

复现流程:
1.确保logs目录下没有任何今天的日志文件
2.启动Koishi,输出大量日志触发log rotate
3.koishi崩溃

@shigma shigma closed this as completed in 02bc617 May 10, 2024
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

1 participant