On Wed, Jan 30, 2008 at 06:51:48PM +0530, Rishi M Nair wrote:
> Please ignore the previous mail in that diff is not taken in the correct
> format
> 
> Bug ID -5079505
> Synopsis -  Clarification of /etc/syslog.conf comments
> Category:Subcategory - utility:logger

> --- syslog.conf.orig  Tue Oct  2 19:45:58 2007
> +++ syslog.conf       Tue Jan 29 07:55:36 2008
> @@ -42,6 +42,8 @@
>  # sent to the loghost machine, un-comment out the following line:
>  #auth.notice                 ifdef(`LOGHOST', /var/log/authlog, @loghost)
>  
> +# Loghost is defined by syslog with reference to the hosts database.
> +
>  mail.debug                   ifdef(`LOGHOST', /var/log/syslog, @loghost)

Firstly, the additional comment is apparently required directly above
the auth.notice entry.  This would also require that the previous line
"uncomment the following line" be reworded too.

Secondly, the macro is "LOGHOST", not "Loghost", so the comment should
reflect that.

Finally, I think that a better fix would be to add a description of how
the LOGHOST macro works and is defined to syslog.conf(4) and reference
that manpage in the comment, since the proposed text is still largely
ambiguous.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20080130/439756ac/attachment.bin>

Reply via email to