From 2c87ed814f27ef8d58a4260be79710ed85c28bfe Mon Sep 17 00:00:00 2001 From: Eskil Queseth Date: Sun, 18 Oct 2020 01:10:36 +0200 Subject: add support for file logging --- mumd/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mumd') 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. -- cgit v1.2.1