logger: fix size trigger size

This commit is contained in:
Alex Janka 2024-08-27 11:50:38 +10:00
parent 0775b6d316
commit a74592ef4c

View file

@ -20,7 +20,7 @@ pub async fn init_logger() -> Res<()> {
.encoder(Box::new(PatternEncoder::new("{h({l})}: {m}\n")))
.build();
let trigger = SizeTrigger::new(2048);
let trigger = SizeTrigger::new(8 * 1024);
let roller = FixedWindowRoller::builder()
.base(0)
.build(