refact(logs): keep logs, 31 -> 90 days

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2026-08-31 10:00:01 +08:00
parent 399030eaf3
commit c9823ad735
+1 -1
View File
@@ -459,7 +459,7 @@ pub fn init_log(_is_async: bool, _name: &str) -> Option<flexi_logger::LoggerHand
.rotate( .rotate(
Criterion::Age(Age::Day), Criterion::Age(Age::Day),
Naming::Timestamps, Naming::Timestamps,
Cleanup::KeepLogFiles(31), Cleanup::KeepLogFiles(90),
) )
.start() .start()
.ok(); .ok();