From dd5461fd23400d307e4d559de86a21e71719da23 Mon Sep 17 00:00:00 2001 From: zephyr Date: Thu, 22 Feb 2024 01:58:19 +0900 Subject: [PATCH] eliminate unnecessary line --- src/conf/log.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/conf/log.rs b/src/conf/log.rs index 3fa55531..8dd6b58e 100644 --- a/src/conf/log.rs +++ b/src/conf/log.rs @@ -89,9 +89,8 @@ impl Config for LogConf { "stdout" => io::stdout().into(), "stderr" => io::stderr().into(), output => OpenOptions::new() - .write(true) - .create(true) .append(true) + .create(true) .open(output) .unwrap_or_else(|e| panic!("failed to open {}: {}", output, &e)) .into(),