logger: fix size trigger size
This commit is contained in:
parent
0775b6d316
commit
a74592ef4c
|
@ -20,7 +20,7 @@ pub async fn init_logger() -> Res<()> {
|
||||||
.encoder(Box::new(PatternEncoder::new("{h({l})}: {m}\n")))
|
.encoder(Box::new(PatternEncoder::new("{h({l})}: {m}\n")))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
let trigger = SizeTrigger::new(2048);
|
let trigger = SizeTrigger::new(8 * 1024);
|
||||||
let roller = FixedWindowRoller::builder()
|
let roller = FixedWindowRoller::builder()
|
||||||
.base(0)
|
.base(0)
|
||||||
.build(
|
.build(
|
||||||
|
|
Loading…
Reference in a new issue