  | |  | Customizing redhat-logviewer | Customizing redhat-logviewer 2003-04-30 - By Mike Vanecek
Back How can one add additional logs to be viewed in redhat-logviewer?
[root@(protected) root]# cat /etc/sysconfig/redhat-logviewer # Configuration File for Red Hat Log Viewer # Copyright (c) 2001, 2002 Red Hat, Inc. all rights reserved. # Copyright (c) 2001, 2002 Tammy Fox <tfox@(protected) > # Log file names SYSLOG=/var/log/messages SECURELOG=/var/log/secure MAILLOG=/var/log/maillog CRONLOG=/var/log/cron NEWSLOG=/var/log/newslog BOOTLOG=/var/log/boot.log CIPELOG=/var/log/cipe.log DMESGLOG=/var/log/dmesg HTTPDACCESSLOG=/var/log/httpd/access_log HTTPDERRORLOG=/var/log/httpd/error_log MYSQLLOG=/var/log/mysqld.log RPMLOG=/var/log/rpmpkgs TUXLOG=/var/log/tux UP2DATELOG=/var/log/up2date # FTPLOG=/var/log/xferlog FTPLOG=/var/log/vsftpd.log XFREE86LOG=/var/log/XFree86.0.log
For example, I added
SPAMDLOG=/var/log/spamd.log
I also tried
LOCAL4=/var/log/spamd.log
to the config file, but it does not show up in the viewer. Evidently the log file names are defined somewhere and my addition of SPAMDLOG and LOCAL4 is not in that list. This viewer is very useful, but it needs to have the option of adding additional logs.
|
|
 |