From 850c52d07c5f7aedc13c24826706d048f848c920 Mon Sep 17 00:00:00 2001 From: Skyxim Date: Sat, 16 Jul 2022 13:33:27 +0800 Subject: [PATCH] chore: log level should be setting after launched --- hub/executor/executor.go | 1 - 1 file changed, 1 deletion(-) diff --git a/hub/executor/executor.go b/hub/executor/executor.go index 84ec63cf..6918fd47 100644 --- a/hub/executor/executor.go +++ b/hub/executor/executor.go @@ -288,7 +288,6 @@ func updateSniffer(sniffer *config.Sniffer) { } func updateGeneral(general *config.General, force bool) { - log.SetLevel(general.LogLevel) tunnel.SetMode(general.Mode) tunnel.SetAlwaysFindProcess(general.EnableProcess) dialer.DisableIPv6 = !general.IPv6