diff --git a/paddle/fluid/platform/init.cc b/paddle/fluid/platform/init.cc index d96d1c031562d686f165a52ea3d38566cd1bf855..6605b8938a130544ef25ccd6e7f482054050a602 100644 --- a/paddle/fluid/platform/init.cc +++ b/paddle/fluid/platform/init.cc @@ -206,7 +206,7 @@ void InitDevices(bool init_p2p, const std::vector devices) { void SignalHandle(const char *data, int size) { auto file_path = string::Sprintf("/tmp/paddle.%d.dump_info", ::getpid()); try { - LOG(WARNING) << "Signal raises!\n" + std::string(data, size); + LOG(WARNING) << std::string(data, size); std::ofstream dump_info; dump_info.open(file_path, std::ios::app); dump_info << std::string(data, size);