syslog.conf (5) man error?
Dan Nelson
dnelson at allantgroup.com
Fri Mar 23 17:49:36 UTC 2007
In the last episode (Mar 23), Theodore Trubetskoy said:
> I'm wondering if it is an error in the syslog.conf man.
>
> man in DESCRIPTION part states:
>
> "A block will only log messages corresponding to the most recent
> program and hostname specifications given."
>
> And EXAMPLES part reads:
> "
> # Save ftpd transactions along with mail and news
> !ftpd
> *.* /var/log/spoolerr
>
> # Log all security messages to a separate file.
> security.* /var/log/security
>
> # Log all writes to /dev/console to a separate file.
> console.* /var/log/console.log
> "
> What means that security and console facilities messages will be
> logged only if they came from ftpd program, and obviously this was
> not intended in the example.
>
> If you agree it is an error, what is the right way to correct one?
I think each example was meant to stand alone, but it might be nice if
the ftpd example had a "!*" line at the end, to show how to reset the
program specification back to the default in a real config file.
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-questions
mailing list