diff options
author | Aleksey Kladov <[email protected]> | 2018-08-27 22:42:13 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-27 22:42:13 +0100 |
commit | 13110f48e948d7554500aefc336e72f96041386b (patch) | |
tree | 60796fe2a4de16e37ff844c3360726e526c9b506 /crates/server | |
parent | 8f5330cb0796670a93089107c8b15cdef3fa7c94 (diff) |
Log errors
Diffstat (limited to 'crates/server')
-rw-r--r-- | crates/server/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 ::{ | |||
40 | pub type Result<T> = ::std::result::Result<T, ::failure::Error>; | 40 | pub type Result<T> = ::std::result::Result<T, ::failure::Error>; |
41 | 41 | ||
42 | fn main() -> Result<()> { | 42 | fn main() -> Result<()> { |
43 | Logger::with_env() | 43 | Logger::with_env_or_str("m=error") |
44 | .duplicate_to_stderr(Duplicate::All) | 44 | .duplicate_to_stderr(Duplicate::All) |
45 | .log_to_file() | 45 | .log_to_file() |
46 | .directory("log") | 46 | .directory("log") |