소스 검색

Merge pull request #23783 from Microsoft/WaitExitDebug

Windows: Added stateinfo to WaitExit info to aid debugging daemon hangs
Alexander Morozov 9 년 전
부모
커밋
ca669eb849
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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
 }