Opened 8 years ago
#11026 new Feature Requests
Add exceptions to file sinks when writing fails
Reported by: | Andrey Semashev | Owned by: | Andrey Semashev |
---|---|---|---|
Milestone: | To Be Determined | Component: | log |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Note:
See TracTickets
for help on using tickets.