[SunHELP] syslog server ***

Dennis L. Lund sunhelp at sunhelp.org
Wed Dec 6 20:20:57 CST 2000


>From syslog.conf man page:

     The action field indicates where  to  forward  the  message.
     Values for this field can have one of four forms:

        o  A filename, beginning  with  a  leading  slash,  which
           indicates  that messages specified by the selector are
           to be written to the specified file. The file will  be
           opened in append mode.

###### USE THIS #######
----->  o  The name of a remote host,  prefixed  with  an  @,  as
           with: @server, which indicates that messages specified
           by the selector are to be forwarded to the syslogd  on
           the named host. The hostname "loghost" is the hostname
           given to the machine that will log syslogd   messages.
           Every   machine   is   "loghost"   by   default.   See
           /etc/hosts. It is also possible to specify one machine
           on  a network to be "loghost"  by making the appropri-
           ate host table entries. If the local machine is desig-
           nated  to  be  "loghost",   then syslogd  messages are
           written to the appropriate files.  Otherwise, they are
           sent to the machine "loghost" on the network.

	EXAMPLE syslog.conf entry:
		user.err	@servername

        o  A comma-separated list of usernames,  which  indicates
           that  messages  specified  by  the  selector are to be
           written to the named users if they are logged in.

        o  An asterisk, which indicates that  messages  specified
           by  the  selector  are  to be written to all logged-in
           users.

     Blank lines are ignored. Lines for which the first  nonwhite
     character is a '#' are treated as comments.

Dennis Lund



More information about the SunHELP mailing list