Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 2010 19:01:42 +0200 (CEST)
From:      kama <kama@pvp.se>
To:        freebsd-current@freebsd.org
Subject:   Re: newsyslog patch implementing file includes
Message-ID:  <20100428185223.P4522@ns1.as.pvp.se>
In-Reply-To: <n2zd36406631004220215o20f12704nc75637ed60773817@mail.gmail.com>
References:  <y2i4e571dd71004212055v17af3f28v172b8f8204b0b7e8@mail.gmail.com> <4BCFF81A.6050006@lissyara.su> <s2q4e571dd71004220029qb9a04325h1064c4ab458b1526@mail.gmail.com> <4BCFFBC1.2080703@lissyara.su> <n2zd36406631004220215o20f12704nc75637ed60773817@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 22 Apr 2010, krad wrote:

> On 22 April 2010 08:33, Alex Keda <admin@lissyara.su> wrote:
>
> > 22.04.2010 11:29, Gordon Tetlow ?????:
> >
> >> On Thu, Apr 22, 2010 at 12:17 AM, Alex Keda <admin@lissyara.su <mailto:
> >> admin@lissyara.su>> wrote:
> >>
> >>    It's need feature. I test patch - it work for me (CURRENT, amd64)
> >>    Can I use some as:
> >>    <include> /path/to/dir/*.conf
> >>    ?
> >>    and can I create recursive include?
> >>
> >>
> >> Yes, wildcards and recursive includes are supported.
> >>
> > great job!
> > Thanks!
> >
> >
> > _______________________________________________
> > freebsd-current@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> >
>
>
> i would be real nice is newsyslog also supported a date based file renaming
> shceme rather than the cyclic 0,1,2,3, much like the datext option in
> logrotate. eg
>
> messages
> messages.20100422
> messages.20100421
> messages.20100420
> ...
>
> The cyclic renaming is a pain for incremental backups as all the log files
> are backed up every time as their contents changes compared to their
> filename

Even nicer if it could use the strftime() syntax format. ie: %Y%m%d to get
the date. This way it could also be named in week number.

/Bjorn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100428185223.P4522>