chore: log level should be setting after launched

This commit is contained in:
Skyxim 2022-07-16 13:33:27 +08:00
parent 10f8f5dd7b
commit 850c52d07c

View file

@ -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