log files

Darin Perusich Darin.Perusich at cognigencorp.com
Mon Feb 16 11:53:40 EST 2004


if you'd really like to make log files easier to read try logging to 
mysql and put a php frontend on it. this is what i do, it's much easier 
when you've centralized your messages on a log server.

you can do this with syslog-ng, which redhat ships with but there isn't 
a clean mechinism for putting the message into mysql. i'm using msyslog, 
http://msyslog.sf.net as my syslog daemon on my log server. it uses 
modules/plug-ins for send the message to a databse. it support mysql, 
postgress, oracle out of the box, as long as you have the client 
libraries installed. i use a slightly modified php frontend which i 
grapped at http://vermeer.org/syslog/.


Cyber Source wrote:
> Anyone know of an easy way to have certain services send there log 
> messages to a different place. For instance, to send DHCP messages to a 
> different file other than the standard /var/log/messages. Or for any 
> other service like PPP. It would make reading the log files much better.
> 
> 

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper at cognigencorp.com





More information about the nflug mailing list