
30 Jun
2005
30 Jun
'05
8:23 p.m.
martin.ecker@tab.at wrote:
Hello,
Greg Landrum wrote:
So the logger output is "late". Is there some flag I can set (or appender I can use) that will force output to go to the target streams immediately or is this outside the design of the logging library?
I also happened to stumble accross this. The problem is that log caching is turned on initially and you have to explicitly turn it off. Basically, it should work if you change your code to this:
This was exactly the problem; adding a call to boost::logging::set_log_caching(false) cleared up the ordering problems. I had misunderstood the purpose of log caching. Thanks for the quick answer, -greg