|
Boost : |
Subject: Re: [boost] [log] Boost.Log formal review closing down
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-03-17 17:51:58
----- Original Message -----
From: "Andrey Semashev" <andrey.semashev_at_[hidden]>
To: <boost_at_[hidden]>
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_backends.html#log.detailed.sink_backends.text_file.managing_rotated_files
>>
>> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk