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

Regarding the file size limit of hlog #648

Open
SuperBigYB opened this issue Dec 13, 2024 · 1 comment
Open

Regarding the file size limit of hlog #648

SuperBigYB opened this issue Dec 13, 2024 · 1 comment

Comments

@SuperBigYB
Copy link
Contributor

Reading the source code, I found that after the log file size exceeds the limit, the processing of hlog is to clear all content. Would it be better to change it to clear the first 50% or 25%.

@ithewei
Copy link
Owner

ithewei commented Dec 18, 2024

hlog keeps the implementation simple. If you need a professional log library, you can consider to use spdlog.

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