Closed E2ern1ty closed 1 month ago
add option log_clean_days to enable build-in log rotation enabled leveraging glog
use google::EnableLogCleaner func
Tests:
Affects:
Please confirm whether to be reflected in release notes and how to describe:
ex. Fixed the bug .....
I turned off the ntp service in the test cluster and set the time through the date command. The log can be automatically cleared when the new log is refreshed.
Thanks for the great work :-D
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
5688
Description:
add option log_clean_days to enable build-in log rotation enabled leveraging glog
How do you solve it?
use google::EnableLogCleaner func
Special notes for your reviewer, ex. impact of this fix, design document, etc:
Checklist:
Tests:
Affects:
Release notes:
Please confirm whether to be reflected in release notes and how to describe: