Parcourir la source

Added stateinfo to WaitExit info to aid debugging daemon hangs

Signed-off-by: Darren Stahl <darst@microsoft.com>
Darren Stahl il y a 9 ans
Parent
commit
9aa9bda178
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      libcontainerd/container_windows.go

+ 2 - 2
libcontainerd/container_windows.go

@@ -263,12 +263,12 @@ func (ctr *container) waitExit(process *process, isFirstProcessToStart bool) err
 	}
 
 	// Call into the backend to notify it of the state change.
-	logrus.Debugf("waitExit() calling backend.StateChanged %v", si)
+	logrus.Debugf("waitExit() calling backend.StateChanged %+v", si)
 	if err := ctr.client.backend.StateChanged(ctr.containerID, si); err != nil {
 		logrus.Error(err)
 	}
 
-	logrus.Debugln("waitExit() completed OK")
+	logrus.Debugf("waitExit() completed OK, %+v", si)
 	return nil
 }