Skip to content

Commit

Permalink
fix frps --log_file useless, fix #1125
Browse files Browse the repository at this point in the history
  • Loading branch information
fatedier committed Mar 15, 2019
1 parent d1f1c72 commit 6b61cb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/frps/root.go
Expand Up @@ -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
}
Expand Down

0 comments on commit 6b61cb3

Please sign in to comment.