cvs commit: src/usr.sbin/newsyslog newsyslog.8 newsyslog.c
Christopher Nehren
apeiron at comcast.net
Mon Oct 4 19:33:34 PDT 2004
On Mon, 2004-10-04 at 23:35 +0000, Brooks Davis wrote:
> brooks 2004-10-04 23:35:13 UTC
>
> FreeBSD src repository
>
> Modified files:
> usr.sbin/newsyslog newsyslog.8 newsyslog.c
> Log:
> Add a new -d argument which is used to specify an alternate root for log
> files similar to DESTDIR in the BSD make process. This only affects log
> file paths not config file (-f) or archive directory (-a) paths.
Excellent idea. This will cut down on a lot of verbosity in the
newsyslog.conf file. However, perhaps the accompanying patch is a better
implementation. It allows both relative and absolute path names to be
listed, so that logs which are stored in a chroot'd environment (think
BIND 9) can be specified along with logs specified with the -d option.
I'll admit right now that my C is nothing near as good as I'd like it to
be (though I have been reading my Deitel book), but I have tested this
and it does what I want it to do.
Also, while I'm here, is there any plan to port this to RELENG_5?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newsyslog.c.patch
Type: text/x-patch
Size: 365 bytes
Desc:
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20041004/b56291bb/newsyslog.c.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20041004/b56291bb/attachment.bin
More information about the freebsd-hackers
mailing list