1
0
mirror of https://github.com/fatedier/frp.git synced 2025-03-10 05:40:15 +00:00

fix frps --log_file useless, fix

This commit is contained in:
fatedier 2019-03-15 15:37:17 +08:00
parent d1f1c72a55
commit 6b61cb3742

View File

@ -187,9 +187,9 @@ func parseServerCommonCfgFromCmd() (err error) {
g.GlbServerCfg.MaxPortsPerClient = maxPortsPerClient g.GlbServerCfg.MaxPortsPerClient = maxPortsPerClient
if logFile == "console" { if logFile == "console" {
g.GlbClientCfg.LogWay = "console" g.GlbServerCfg.LogWay = "console"
} else { } else {
g.GlbClientCfg.LogWay = "file" g.GlbServerCfg.LogWay = "file"
} }
return return
} }