mire787 / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

Error log filename BUG #151

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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