$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [log] Formal review
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2010-03-17 16:45:10
On 03/17/2010 06:03 PM, Alexander Arhipenko wrote:
>
> I have one question in regards to log rotation.
> (I guess, I was asking it last year when RC3 was presented).
> Is it possible to setup log rotation in a following way:
> file.log - earlies log file (today)
> file1.log - older log file (yesterday)
> file2.log - oldest log file (the day before yesterday).
>
> This way Apache, Samba etc. performs rotation.
> Also, this rotation behavior is default in Python logging module.
> Also, this behavior is default in my wolrd ;).
No, I haven't done that yet. But I'm moving to it. There is now a model
of file collector that could potentially arrange the files the way you need.