newsyslog naming scheme could be improved?

andrew clarke mail at ozzmosis.com
Sun Oct 12 17:40:27 UTC 2008


On Sat 2008-10-11 14:58:39 UTC-0400, Garance A Drosehn (gad at FreeBSD.org) wrote:

> It would be bad to change the default behavior, but there have
> been several people who wished for some option for newsyslog
> which would make it use some alternate naming scheme.  There's
> at least one PR about it, for instance.
>
> It is on my list of things to do, but I've had a long stretch
> of time where I have too many things on that list.  I wouldn't
> go for a naming scheme that's as long as the above suggestion,
> though.

Perhaps newsyslog could support filenames in strftime(3) format, eg.

/var/log/messages.%Y-%m-%d

I think the format of newsyslog.conf might need to change to allow
that though, breaking compatibility...


More information about the freebsd-questions mailing list