Open GoogleCodeExporter opened 8 years ago
Yeah, glog doesn't have any internal timers to ensure periodical disk write.
When a log happens, glog flushes the log if logbufsecs elapsed since the last
flush. If you don't mind performance so much, you can specify FLAGS_logbufsecs
= 0 in the top of your code so all logs will be flushed. Or, you may want to
call FlushLogFiles in your timer thread.
Original comment by shinichi...@gmail.com
on 1 Jul 2010 at 6:51
Original issue reported on code.google.com by
rimck...@gmail.com
on 28 Jun 2010 at 1:57