Date: Fri, 23 Mar 2007 12:49:16 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Theodore Trubetskoy <fedya@ispol.com> Cc: freebsd-questions@freebsd.org Subject: Re: syslog.conf (5) man error? Message-ID: <20070323174916.GC92547@dan.emsphone.com> In-Reply-To: <65677df80703230956g65d998d0pbc43e623c14e7177@mail.gmail.com> References: <65677df80703230956g65d998d0pbc43e623c14e7177@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070323174916.GC92547>