Browse code

Merge pull request #23783 from Microsoft/WaitExitDebug

Windows: Added stateinfo to WaitExit info to aid debugging daemon hangs

Alexander Morozov authored on 2016/06/22 06:32:31
Showing 1 changed files
... ...
@@ -263,12 +263,12 @@ func (ctr *container) waitExit(process *process, isFirstProcessToStart bool) err
263 263
 	}
264 264
 
265 265
 	// Call into the backend to notify it of the state change.
266
-	logrus.Debugf("waitExit() calling backend.StateChanged %v", si)
266
+	logrus.Debugf("waitExit() calling backend.StateChanged %+v", si)
267 267
 	if err := ctr.client.backend.StateChanged(ctr.containerID, si); err != nil {
268 268
 		logrus.Error(err)
269 269
 	}
270 270
 
271
-	logrus.Debugln("waitExit() completed OK")
271
+	logrus.Debugf("waitExit() completed OK, %+v", si)
272 272
 	return nil
273 273
 }
274 274