
----- Original Message ----- From: "Andrey Semashev" <andrey.semashev@gmail.com> To: <boost@lists.boost.org> Sent: Wednesday, March 17, 2010 10:31 PM Subject: Re: [boost] [log] Boost.Log formal review closing down
On 03/18/2010 12:21 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?
This means, I will try to, but I can't promise that I'll succeed.
Let me know if I can do something.
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?
As I said, you can't give the actual number of files, but you can limit their size.
Sorry I mis your comment. I understood the rotation can not be made possible based on time, not that the number can not be configured. "
* 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. "
Vicente