Subject: [Boost-bugs] [Boost C++ Libraries] #11026: Add exceptions to file sinks when writing fails
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-02-14 16:03:09
#11026: Add exceptions to file sinks when writing fails
-------------------------------------+---------------------
Reporter: andysem | Owner: andysem
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: log
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+---------------------
Currently, if writing to a stream fails, the error goes unnoticed by the
application. This primarily concerns text_file_backend and
text_multifile_backend. There should be an exception thrown in such cases,
preferably containing the cause of failure, which is not currently
provided by the underlying stream. Also, some failures tend to happen
repeatedly over prolonged time (e.g. when there is no free space left on
the filesystem), and the library should not spam the application with
exceptions in such cases.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11026> 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