[Boost-bugs] [Boost C++ Libraries] #13594: init_from_settings does not allow repeated calls

Subject: [Boost-bugs] [Boost C++ Libraries] #13594: init_from_settings does not allow repeated calls
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-06-13 09:42:49


#13594: init_from_settings does not allow repeated calls
------------------------------+-----------------------------
 Reporter: PieterB@… | Owner: Andrey Semashev
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
  Version: Boost 1.67.0 | Severity: Problem
 Keywords: |
------------------------------+-----------------------------
 I have an application that causes init_from_settings to be called
 repeatedly, which does not quite work as I expected.

 I noticed that this causes memory use to grow, presumably because old
 sinks are not removed and new sinks are added which each call, which (to
 me) is unexpected behaviour. I understand that sinks can be removed by
 calling remove_all_sinks() before (re)initialization, but it would be much
 nicer when init_from_settings would just configure the logging system
 'from scratch' (I am not currently sure that I can fully revert the system
 to an uninitialized state before calling init_from_settings).

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13594>
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 : 2018-06-13 09:47:40 UTC