Merge pull request #23130 from cfergeau/gvproxy-logs

machine: Always use --log-file with gvproxy
This commit is contained in:
openshift-merge-bot[bot] 2024-07-01 09:26:46 +00:00 committed by GitHub
commit f3a4f07637
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -57,9 +57,7 @@ func startHostForwarder(mc *vmconfigs.MachineConfig, provider vmconfigs.VMProvid
runDir := dirs.RuntimeDir
cmd.PidFile = filepath.Join(runDir.GetPath(), "gvproxy.pid")
if logrus.IsLevelEnabled(logrus.DebugLevel) {
cmd.LogFile = filepath.Join(runDir.GetPath(), "gvproxy.log")
}
cmd.LogFile = filepath.Join(runDir.GetPath(), "gvproxy.log")
cmd.SSHPort = mc.SSH.Port