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

超过设定日志数量 不自动删除旧日志文件 #377

Open
kamylee opened this issue Dec 2, 2024 · 0 comments
Open

超过设定日志数量 不自动删除旧日志文件 #377

kamylee opened this issue Dec 2, 2024 · 0 comments

Comments

@kamylee
Copy link

kamylee commented Dec 2, 2024

flag::set_value("http_log", "false");//close http log
flag::set_value("cout", "true");//logging to terminal.
flag::set_value("max_log_file_num", "8");
flag::set_value("max_log_size", "4096");
flag::set_value("max_log_file_size", str::from(256 << 20));
flag::set_value("log_daily", "true");
flag::set_value("log_file_name", logFileName);
我这样设置的日志,但是日志文件超过8个,不会自动删除旧文件?是哪里没弄对吗?

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