mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-10-12 03:33:59 +00:00
refact(logs): keep logs, 31 -> 90 days
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
+1
-1
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user