Opened 9 years ago

Last modified 9 years ago

#9797 new Feature Requests

Scanning files without updating file counter when initializing from settings container

Reported by: robert.hegner@… Owned by: Andrey Semashev
Milestone: Boost 1.56.0 Component: log
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

When setting up a text file backend programmatically I can call scan_for_files() with the update_counter parameter set to false.

However when initializing logging from a settings container, default_text_file_sink_factory::create_sink() always calls scan_for_files() with the update_counter parameter set to true.

In my project I need to be able to initialize a text file backend from a settings container, and scanning files with update_counter set to false.

Change History (1)

comment:1 by Andrey Semashev, 9 years ago

Right now you can achieve this by registering a sink factory that will set up the text file sink according to your needs. This is described in the docs.

Note: See TracTickets for help on using tickets.