From ccfd54edeeaec2d22b8f12b43cb79fc236337ae7 Mon Sep 17 00:00:00 2001 From: SeaLoong <984391132@qq.com> Date: Thu, 24 Sep 2020 20:02:44 +0800 Subject: [PATCH] v0.2.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 设置触发log压缩大小为由4m改回1mb --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d5879e1..6e183ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -263,7 +263,7 @@ dependencies = [ [[package]] name = "drcom4scut" -version = "0.2.2" +version = "0.2.3" dependencies = [ "bytes", "chrono", diff --git a/Cargo.toml b/Cargo.toml index b125e29..a74664d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "drcom4scut" -version = "0.2.2" +version = "0.2.3" authors = ["SeaLoong <984391132@qq.com>"] edition = "2018" description = "A 3rd-party Drcom client for SCUT." diff --git a/src/main.rs b/src/main.rs index aa0a5b6..dc321e9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -64,7 +64,7 @@ fn init_logger(settings: &Settings) { .build( directory.clone() + "/latest.log", Box::new(CompoundPolicy::new( - Box::new(SizeTrigger::new(1 << 22)), + Box::new(SizeTrigger::new(1 << 20)), Box::new( FixedWindowRoller::builder() .base(1)