aboutsummaryrefslogtreecommitdiff
path: root/crates/server
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-27 22:42:13 +0100
committerAleksey Kladov <[email protected]>2018-08-27 22:42:13 +0100
commit13110f48e948d7554500aefc336e72f96041386b (patch)
tree60796fe2a4de16e37ff844c3360726e526c9b506 /crates/server
parent8f5330cb0796670a93089107c8b15cdef3fa7c94 (diff)
Log errors
Diffstat (limited to 'crates/server')
-rw-r--r--crates/server/src/main.rs2
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 ::{
40pub type Result<T> = ::std::result::Result<T, ::failure::Error>; 40pub type Result<T> = ::std::result::Result<T, ::failure::Error>;
41 41
42fn main() -> Result<()> { 42fn 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")