提交 44784461 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!5399 Set SigChld handler's log information from ERROR to INFO.

Merge pull request !5399 from ZhangQinghua/master
......@@ -184,7 +184,7 @@ void DuplexPipe::SignalHandler::SigChildHandler(int sig) {
int status;
auto pid = waitpid(child_pid_, &status, WNOHANG | WUNTRACED);
if (WIFEXITED(status)) {
DP_ERROR << "Child exited, status: " << WEXITSTATUS(status) << ", pid: " << pid;
DP_INFO << "Child exited, status: " << WEXITSTATUS(status) << ", pid: " << pid;
if (!dp_.expired()) {
dp_.lock()->Close();
}
......@@ -194,7 +194,7 @@ void DuplexPipe::SignalHandler::SigChildHandler(int sig) {
// which caused by MPI_Finalize() never returned.
exit(-1);
} else if (WIFSTOPPED(status)) {
DP_ERROR << "Child stopped, sig: " << WSTOPSIG(status) << ", pid: " << pid;
DP_INFO << "Child stopped, sig: " << WSTOPSIG(status) << ", pid: " << pid;
} else if (WIFSIGNALED(status)) {
DP_INFO << "Child not exited, signaled, sig: " << WTERMSIG(status) << ", pid: " << pid;
} else if (WIFCONTINUED(status)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册