
----- Original Message ----- From: "Andrey Semashev" <andrey.semashev@gmail.com> To: <boost@lists.boost.org> Sent: Wednesday, March 17, 2010 9:09 PM Subject: Re: [boost] [log] Boost.Log formal review closing down
On 03/17/2010 11:26 AM, vicente.botet wrote:
* Filters, Formatters and attributes: An attribute is a different think than a filter. Filters contains attributes as part of its expressions.
attr< logging::severity_level>("Severity") should return the attribute value when called.
The following expression
attr< logging::severity_level>("Severity")>= logging::info
should return a filter. Can this make be possible and unanbigous?
See our conversation with Steven on this topic. In short, it needs researching on my side. On the spot I can see the problem with attr returning the attribute value upon being called, if more than one type is specified.
Does this mean that you will take care of the separation between attributes/filters and formatters?
* Rotation on files. Can rotation be based only on time? Can we rotate at 2:00AM every day?
As I said in another email, this is currently not possible, but will be implemented.
Great. This is a must to have feature.
How many rotation files are maintained?
You can specify maximum total size of the files or minimum free space on the drive.
Can this number be configured?
See here:
http://boost-log.sourceforge.net/libs/log/doc/html/log/detailed/sink_backend...
I dont see how to configure the number of rotation files? Could you show me how? Best, Vicente