Opened 4 years ago

Closed 16 months ago

#8746 closed Feature Requests (fixed)

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:


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 (0)

Change History (4)

comment:1 Changed 19 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 18 months ago by anonymous

I would like this.

comment:3 Changed 18 months ago by Erich Keane

I've contributed a pull-request for this one here:

comment:4 Changed 16 months ago by andysem

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

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain andysem.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.