aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src
diff options
context:
space:
mode:
authorEskil Queseth <eskilq@kth.se>2020-10-18 01:10:36 +0200
committerEskil Queseth <eskilq@kth.se>2020-10-18 01:10:36 +0200
commit2c87ed814f27ef8d58a4260be79710ed85c28bfe (patch)
tree8e6a1ee4f441c0945c3713ff4050455921a1bd27 /mumd/src
parentccc5f76133460d055a5d90ae9cd0a7bc2a83551d (diff)
downloadmum-2c87ed814f27ef8d58a4260be79710ed85c28bfe.tar.gz
add support for file logging
Diffstat (limited to 'mumd/src')
-rw-r--r--mumd/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mumd/src/main.rs b/mumd/src/main.rs
index 5ae077a..9381a61 100644
--- a/mumd/src/main.rs
+++ b/mumd/src/main.rs
@@ -21,7 +21,7 @@ use tokio::task::spawn_blocking;
#[tokio::main]
async fn main() {
- setup_logger();
+ setup_logger(std::io::stderr(), true);
// Oneshot channel for setting UDP CryptState from control task
// For simplicity we don't deal with re-syncing, real applications would have to.