Re: [Boost-bugs] [Boost C++ Libraries] #10242: logging::core::set_filter() prevents attributes from being removed and added

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10242: logging::core::set_filter() prevents attributes from being removed and added
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-26 16:03:27


#10242: logging::core::set_filter() prevents attributes from being removed and
added
-------------------------------------+-------------------------------------
  Reporter: Kent Knox | Owner: andysem
  <kent.knox@…> | Status: closed
      Type: Bugs | Component: log
 Milestone: To Be Determined | Severity: Problem
   Version: Boost 1.55.0 | Keywords: set_filter
Resolution: invalid | remove_all_attributes
-------------------------------------+-------------------------------------
Changes (by andysem):

 * status: new => closed
 * resolution: => invalid

Comment:

 This is not a bug. When you call remove_all_attributes on the logger the
 first time you also remove the severity attribute from the logger. This
 doesn't matter when the filter is not set since in that case severity is
 not used anywhere. But when the filter is set, it doesn't find the
 severity in the second and third log records and returns false which
 results in discarding these records.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10242#comment:1>
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:16 UTC