conf/62368: 5.2-RELEASE syslog.conf appears to be malformed
Pat Lashley
patl+freebsd at volant.org
Wed Feb 4 18:38:26 PST 2004
--On Wednesday, February 04, 2004 18:10:07 -0800 "Kline, Erik" <Erik.Kline at netapp.com> wrote:
> so when writing scripts that make custom mods to syslog.conf I need to
> cat >> /etc/syslog.conf something like:
>
> !*
> local2.info @some.log.host
>
> Is this correct? Thanks for pointing out the section of the man page I
> didn't quite get down to!
That's certainly one way to do it; but it would really be cleaner
to try to insert the new lines before the first line that starts
with '!' or '#!'. (Although a strong argument could be made for
appending some sort of 'local mods start here' comment followed
by a '!*' line if you aren't removing or replacing any of the
default entries.)
-Pat
More information about the freebsd-bugs
mailing list