syslog.conf (5) man error?

2007-03-23 Thread Theodore Trubetskoy

Hello,

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?

thank you,
--fedya
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: syslog.conf (5) man error?

2007-03-23 Thread Dan Nelson
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
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]