1834866 Members
2393 Online
110070 Solutions
New Discussion

Re: syslog

 
SOLVED
Go to solution
Jason_309
Regular Advisor

syslog

Our old admin setup all of our syslogs to go to another server, however that server is no longer working. How do i redirect the output to go into each machines /var/adm/syslog?
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: syslog

The file you want to change is /etc/syslog.conf. After you make your changes,
cd /sbin/init.d
./syslogd stop
./syslogd start
and you should be good to go.

There is a safe copy in /usr/newconfig/etc/syslog.conf that you can copy to /etc and restore the default behavior but you still must stop and restart the daemon.

Man syslogd for details.
If it ain't broke, I can fix that.
Jason_309
Regular Advisor

Re: syslog

Thanks once again, you sure are a bundle of info.
Sandman!
Honored Contributor

Re: syslog

In /etc/syslog.conf as...

*.emerg@remote-server
Sandman!
Honored Contributor

Re: syslog

Disregard last post as reply is exact inverse of what you want. in file /etc/syslog.conf do as follows...

*.emerg/var/adm/syslog/syslog.log
Jason_309
Regular Advisor

Re: syslog

Thanks All.