Re: newsyslog patch implementing file includes

From: kama <kama_at_pvp.se>
Date: Wed, 28 Apr 2010 19:01:42 +0200 (CEST)
On Thu, 22 Apr 2010, krad wrote:

> On 22 April 2010 08:33, Alex Keda <admin_at_lissyara.su> wrote:
>
> > 22.04.2010 11:29, Gordon Tetlow ?????:
> >
> >> On Thu, Apr 22, 2010 at 12:17 AM, Alex Keda <admin_at_lissyara.su <mailto:
> >> admin_at_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_at_freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_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
Received on Wed Apr 28 2010 - 15:34:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC