[SunHELP] syslog server ***

Dennis L. Lund sunhelp at sunhelp.org
Thu Dec 7 13:27:36 CST 2000


This is how to do it:

loghost = the server logs will be sent to.

1.  modify the /etc/syslog.conf file on the loghost specifying the location
    to log the specific messages to.

	EXAMPLE loghost syslog.conf entry:
		user.err	/var/adm/user_errors
2.  restart the syslogd process.

	/etc/init.d/syslog stop
	/etc/init.d/syslog start
		or
	ps -ef | grep syslogd
	kill -HUP <PID> ( this is the process ID returned from ps -ef |grep syslogd )

3.  modify the /etc/syslog.conf file on the server sending log messages to the
    loghost:

	EXAMPLE syslog.conf entry:
		user.err	@servername ( this is the loghost )

4.  restart syslogd as in step 2.

That should do it.

Dennis Lund



More information about the SunHELP mailing list