mirror of
https://github.com/containers/podman.git
synced 2025-07-01 08:07:03 +08:00
Re-enable passing a logfile to gvproxy
Re-enable the commented-out code that passed the path to a logfile to gvproxy when the user passes `--log-level=debug` Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
This commit is contained in:
@ -73,11 +73,9 @@ func startNetworking(mc *vmconfigs.MachineConfig, provider vmconfigs.VMProvider)
|
||||
// GvProxy PID file path is now derived
|
||||
cmd.PidFile = filepath.Join(runDir.GetPath(), "gvproxy.pid")
|
||||
|
||||
// TODO This can be re-enabled when gvisor-tap-vsock #305 is merged
|
||||
// debug is set, we dump to a logfile as well
|
||||
// if logrus.IsLevelEnabled(logrus.DebugLevel) {
|
||||
// cmd.LogFile = filepath.Join(runDir.GetPath(), "gvproxy.log")
|
||||
// }
|
||||
if logrus.IsLevelEnabled(logrus.DebugLevel) {
|
||||
cmd.LogFile = filepath.Join(runDir.GetPath(), "gvproxy.log")
|
||||
}
|
||||
|
||||
cmd.SSHPort = mc.SSH.Port
|
||||
|
||||
|
Reference in New Issue
Block a user