Custom named logwatch script

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



Hello,

I am using multiple files for logging activities for named daemon. The files are in /var/named/chroot/var/log/named/, for example /var/named/chroot/var/log/named/general.log.

I am trying to make logwatch look into them. I have created /usr/share/logwatch/default.conf/logfiles/named.conf like this:


LogFile = /var/named/chroot/var/log/named/general.log
*ExpandRepeats
*OnlyHost
*ApplyStdDate


Then I have changed /usr/share/logwatch/default.conf/services/named.conf like this:

Title = "Named"
LogFile = named
$named_ip_lookup = No
*RemoveHeaders


When I run "logwatch --detail High --debug High --print --range All", I can see the log file is proceeded, but I don't see any reports.

Can anyone point me to where my mistake is?

Regards,


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux