From c979fed84cf313c85f7288c91dc942fb3394f25e Mon Sep 17 00:00:00 2001 From: templexxx Date: Thu, 3 Nov 2022 19:56:29 +0800 Subject: [PATCH] log file open result when debug enabled --- omo/src/os/linux/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omo/src/os/linux/mod.rs b/omo/src/os/linux/mod.rs index 39f6113..c0d2b03 100644 --- a/omo/src/os/linux/mod.rs +++ b/omo/src/os/linux/mod.rs @@ -861,7 +861,7 @@ impl Inner { log::debug!("open({}, {}, {}) pc: {}", path, flags, mode, core.pc()?); match open(path.as_str(), flags, mode) { Ok(fd) => { - log::warn!("succeed to open ({}, {}, {}) fd: {}", path, flags, mode, fd); + log::debug!("succeed to open ({}, {}, {}) fd: {}", path, flags, mode, fd); Ok(fd) } Err(e) => {