未验证 提交 c2c5b1b9 编写于 作者: Z Zeng Jinle 提交者: GitHub

remove signal raise msg, test=develop (#19527)

上级 ba368bf6
...@@ -206,7 +206,7 @@ void InitDevices(bool init_p2p, const std::vector<int> devices) { ...@@ -206,7 +206,7 @@ void InitDevices(bool init_p2p, const std::vector<int> devices) {
void SignalHandle(const char *data, int size) { void SignalHandle(const char *data, int size) {
auto file_path = string::Sprintf("/tmp/paddle.%d.dump_info", ::getpid()); auto file_path = string::Sprintf("/tmp/paddle.%d.dump_info", ::getpid());
try { try {
LOG(WARNING) << "Signal raises!\n" + std::string(data, size); LOG(WARNING) << std::string(data, size);
std::ofstream dump_info; std::ofstream dump_info;
dump_info.open(file_path, std::ios::app); dump_info.open(file_path, std::ios::app);
dump_info << std::string(data, size); dump_info << std::string(data, size);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册