From a8d3aaae2a648ee552d60869fc5117e61d4ce1b0 Mon Sep 17 00:00:00 2001 From: chengduo Date: Tue, 20 Nov 2018 17:30:02 +0800 Subject: [PATCH] print output log warning (#14497) test=develop --- paddle/fluid/platform/init.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/paddle/fluid/platform/init.cc b/paddle/fluid/platform/init.cc index 9f7aa556988..e07e9d38252 100644 --- a/paddle/fluid/platform/init.cc +++ b/paddle/fluid/platform/init.cc @@ -38,6 +38,7 @@ std::once_flag p2p_init_flag; void InitGflags(std::vector argv) { std::call_once(gflags_init_flag, [&]() { + FLAGS_logtostderr = true; argv.insert(argv.begin(), "dummy"); int argc = argv.size(); char **arr = new char *[argv.size()]; -- GitLab