[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: complex syslog facility daemon



Juergen Nagler wrote:
> Ok, more descriptive: All programs have a log, that's not the problem.
> The problem is, they all use the same log file. All daemons (dhcpd,
> sshd, in.telnetd, in.xntpdm, cfingerd, in.qpopper) for example use
> /var/log/daemon.log because of the line
> 
> "daemon.*       /var/log/daemon.log"
> 
> in /etc/syslog.conf.

Is there any reason that you can not look in dhcp.log or whatever rather
than daemon.log?  I have my mail and ftp going to their own log, plus
going to daemon log.  So if I know it is mail, I look in mail log.

Another option is to write a simple awk type script which parses the log
and shows you stats, numbers of errors, etc.  Re-coding and compiling is
often a bad idea.
-- 
=====
Linux, because I'd like to *get there* today


Reply to: