Boost logo

Boost :

Subject: Re: [boost] [log] auto_flush not flushing?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2010-06-12 04:51:41


On 06/12/2010 07:32 AM, Michael Caisse wrote:
>
> What happens is that the log file shows up after the program exits.
> Since I was hoping to tail the file for some debug ... that isn't very
> convenient.
>
> Ideas of what I have done wrong?

The file is only created when the first log record is written to it.
Could it be the case that you don't log until the end of the application
run time or filters reject records? Also, is it possible that the
execution time is very short to tell for sure when the record is written
to the file?

The auto-flush feature is quite straightforward, I can't see from the
code how it could do wrong.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk