From cc192381714f02b72a301391b8e8a8338fd65f6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=B6nnhager?= Date: Mon, 8 Apr 2024 21:25:45 +0200 Subject: [PATCH] Initialize logging when running Windows service --- mullvad-daemon/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mullvad-daemon/src/main.rs b/mullvad-daemon/src/main.rs index 3566347152b4..c6a67f8f3e83 100644 --- a/mullvad-daemon/src/main.rs +++ b/mullvad-daemon/src/main.rs @@ -69,8 +69,8 @@ async fn run() -> Result<(), String> { #[cfg(target_os = "windows")] cli::Command::RunAsService => { - init_logger(config, None)?; assert_unique().await?; + let _ = init_daemon_logging(config)?; system_service::run() }