Re: [Boost-bugs] [Boost C++ Libraries] #11016: Boost file logging misbehaves when file system is full

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11016: Boost file logging misbehaves when file system is full
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-02-23 10:11:14


#11016: Boost file logging misbehaves when file system is full
-------------------------------+---------------------
  Reporter: michi@… | Owner: andysem
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: log
   Version: Boost 1.55.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+---------------------
Changes (by andysem):

 * status: reopened => closed
 * resolution: => fixed

Comment:

> When I run the code in a loop, I see the empty log files appearing once
 the file system fills up (one empty file per run).

 Yes, that is how it should work. The empty file appears because the file
 is rotated at application exit, and the new run starts a new file. You can
 add std::ios::app to the file open flags in the sink backend if you want
 to append to the previous file on every next run.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11016#comment:22>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC