Re: [Boost-bugs] [Boost C++ Libraries] #12867: log library extensions

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12867: log library extensions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-02-27 08:36:50


#12867: log library extensions
-------------------------------+--------------------------
  Reporter: vgrinenko@… | Owner: andysem
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: log
   Version: Boost 1.57.0 | Severity: Optimization
Resolution: | Keywords:
-------------------------------+--------------------------

Comment (by vgrinenko@…):

> a max age specification instead of a predicate.
 I was trying to do similar to your implementation and more or less
 â€œgeneric”: max age or older than specific time or something else.


> The record-based renaming seems too specific to me...
 I agree, probably it would be better provide “generic file manipulation”
 possibility instead of renaming and allow to do something with m_File in
 the predicate, for example copy, move, close and open new log dependently
 from the record content. In this case the predicate itself will be
 responsible for the implementation and robustness and risks, not a
 library.
 But it is just an idea.

 Thanks for the answer and good luck!

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12867#comment:2>
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-27 08:40:15 UTC