newsyslog patch implementing file includes
kama
kama at pvp.se
Wed Apr 28 17:34:18 UTC 2010
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
More information about the freebsd-current
mailing list