In child process:
1.google::ShutdownGoogleLogging();
2.google::InitGoogleLogging(log_filename.c_str());
// children threads here
// LOG(XXX)
Sometimes filename is error as following:
!.ERROR -> !.X.iflow.log.ERROR.20130306-181943.18128
The temporary solution:
1.google::ShutdownGoogleLogging();
2.google::InitGoogleLogging(log_filename.c_str());
3.LOG(INFO) << "";
4.LOG(ERROR) << "";
5.LOG(WARNING) << "";
6.LOG(FATAL) << "";
// children threads here
Original issue reported on code.google.com by eyjian@gmail.com on 7 Mar 2013 at 1:18
Original issue reported on code.google.com by
eyjian@gmail.com
on 7 Mar 2013 at 1:18