From 13110f48e948d7554500aefc336e72f96041386b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 28 Aug 2018 00:42:13 +0300 Subject: Log errors --- crates/server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/server') diff --git a/crates/server/src/main.rs b/crates/server/src/main.rs index 5e4c0fe7e..615dd082c 100644 --- a/crates/server/src/main.rs +++ b/crates/server/src/main.rs @@ -40,7 +40,7 @@ use ::{ pub type Result = ::std::result::Result; fn main() -> Result<()> { - Logger::with_env() + Logger::with_env_or_str("m=error") .duplicate_to_stderr(Duplicate::All) .log_to_file() .directory("log") -- cgit v1.2.3