Modify

Ticket #8746 (closed Feature Requests: fixed)

Opened 4 years ago

Last modified 14 months ago

Boot log sink file collector max number of files threshold

Reported by: semenov.nick@… Owned by: andysem
Milestone: To Be Determined Component: log
Version: Boost 1.54.0 Severity: Showstopper
Keywords: boost log file collector Cc:

Description

Need to introduce keyword::max_files for sinks::file::make_collector() in order to limit number of files in the collector's target directory, similarly to keywords::max_size. For instance, when rotating files daily, one should be able to specify number of days to keep the files for.

Attachments

Change History

comment:1 Changed 17 months ago by Erich Keane <erich.keane@…>

This is one that has interest to me as well, and I think I can implement it if it would be well received.

I've not submitted a patch to boost before, but it seems that I can fairly simply create a .patch file to get this going.

andysem or whoever is paying attention, is this a feature that would be well received/regarded? I see it is 2 years old, so I am curious if it has been sitting like this for good reason?

comment:2 Changed 16 months ago by anonymous

I would like this.

comment:3 Changed 16 months ago by Erich Keane

I've contributed a pull-request for this one here: https://github.com/boostorg/log/pull/24

comment:4 Changed 14 months ago by andysem

  • Status changed from new to closed
  • Resolution set to fixed
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.