From 6b61cb37421a570574640e9ea5cf5fd9f55edeb8 Mon Sep 17 00:00:00 2001 From: fatedier Date: Fri, 15 Mar 2019 15:37:17 +0800 Subject: [PATCH] fix frps --log_file useless, fix #1125 --- cmd/frps/root.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/frps/root.go b/cmd/frps/root.go index 573417f..cc7e0e1 100644 --- a/cmd/frps/root.go +++ b/cmd/frps/root.go @@ -187,9 +187,9 @@ func parseServerCommonCfgFromCmd() (err error) { g.GlbServerCfg.MaxPortsPerClient = maxPortsPerClient if logFile == "console" { - g.GlbClientCfg.LogWay = "console" + g.GlbServerCfg.LogWay = "console" } else { - g.GlbClientCfg.LogWay = "file" + g.GlbServerCfg.LogWay = "file" } return }