[olug] kernel panics

David Walker linux_user at grax.com
Tue Jun 3 19:31:38 UTC 2003


On Tuesday 03 June 2003 01:41 pm, Ryan O'Rourke wrote:
> On Tue, 2003-06-03 at 13:14, Trent Melcher wrote:
> > Check your syslog.conf, make sure the line kern.* is going to your
> > messages file instead of the console, or have it go to both, plus a
> > remote logging machine.
>
> The example in the syslog.conf man page shows logging kernel messages to
> a remote machine like this:
> kern.* 		@remote-host
> So if I want to log kernel messages from linux1 to
> /var/log/remote/kernel/ on linux2 where would I specify the directory in
> syslog.conf?
>
> I'm guessing the syslog.conf for linux1 read:
> kern.*		@linux2:/var/log/remote/kernel
>
> Is that correct?

It doesn't really work like that.  You just send the messages to the remote 
machine and it decides what to do with them.  I like to use syslog on the 
individual machine and syslog-ng on the central logger machine.  syslog-ng 
has more advanced sorting techniques.



More information about the OLUG mailing list