From: Greg Landrum (greg.landrum_at_[hidden])
Date: 2005-06-30 15:23:32
> 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
> 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,
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk