Modify

Opened 4 years ago

Closed 21 months ago

#8746 closed Feature Requests (fixed)

Boot log sink file collector max number of files threshold

Reported by: semenov.nick@… Owned by: Andrey Semashev
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 (0)

Change History (4)

comment:1 Changed 2 years 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 2 years ago by anonymous

I would like this.

comment:3 Changed 2 years ago by Erich Keane

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

comment:4 Changed 21 months ago by Andrey Semashev

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Andrey Semashev.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.