Skip to content

Commit f3a4f07

Browse files
Merge pull request #23130 from cfergeau/gvproxy-logs
machine: Always use --log-file with gvproxy
2 parents 5cc5742 + 0d0418a commit f3a4f07

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkg/machine/shim/networking.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ func startHostForwarder(mc *vmconfigs.MachineConfig, provider vmconfigs.VMProvid
5757
runDir := dirs.RuntimeDir
5858
cmd.PidFile = filepath.Join(runDir.GetPath(), "gvproxy.pid")
5959

60-
if logrus.IsLevelEnabled(logrus.DebugLevel) {
61-
cmd.LogFile = filepath.Join(runDir.GetPath(), "gvproxy.log")
62-
}
60+
cmd.LogFile = filepath.Join(runDir.GetPath(), "gvproxy.log")
6361

6462
cmd.SSHPort = mc.SSH.Port
6563

0 commit comments

Comments
 (0)