[SunHELP] syslog server ***

William Ng sunhelp at sunhelp.org
Thu Dec 7 12:26:22 CST 2000


Dennis,
Thanks, however I would like to specify which
directory to store the log on remote machine. From the
man page, it just say about the machine name, how I
can specify the directory.
Also how I can restart the syslogd to reread the
syslog.conf?
Thanks

William



--- "Dennis L. Lund" <dllund at hermes.nextel.com> wrote:
> 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
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/



More information about the SunHELP mailing list