mirror of
https://github.com/containers/podman.git
synced 2025-07-02 08:47:43 +08:00
machine: Always use --log-file with gvproxy
The logs are not verbose if `--debug` is not set, and very useful to have if gvproxy exits unexpectedly. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user