feat: Optional log rotation (#3016)

This PR adds an option to disable log rotation.
This commit is contained in:
Sergey Kuznetsov
2026-04-27 15:30:53 +01:00
committed by GitHub
parent 198773f86a
commit f1460de5d3
8 changed files with 224 additions and 17 deletions

View File

@@ -422,6 +422,8 @@ getClioConfig()
{"log.directory_max_files",
ConfigValue{ConfigType::Integer}.defaultValue(25).withConstraint(gValidateUint32)},
{"log.rotate", ConfigValue{ConfigType::Boolean}.defaultValue(true)},
{"log.tag_style",
ConfigValue{ConfigType::String}.defaultValue("none").withConstraint(gValidateLogTag)},