using /var/log/named.log

Barry Margolin barmar at bbnplanet.com
Fri Nov 12 15:18:21 UTC 1999


In article <Pine.LNX.4.10.9911120945140.14252-100000 at ddx.a2000.nu>,
 <bind-list at ddx.a2000.nu> wrote:
>just installed new rpm for bind 
>an it installed :
>/etc/logrotate.d/named
>
>[root at ns logrotate.d]# cat named 
>/var/log/named.log {
>    postrotate
>        /usr/sbin/killall -HUP named
>    endscript
>}
>
>looked in syslogd.conf but nothing outputs to this file.
>so what do i have to put in  /etc/syslogd.conf to enable logging to 
>/var/log/named.log ?

Pick a local facility, such as local7, and configure the "logging" section
of /etc/named.conf to use this facility code in the syslog channels.  Then
add:

local7.*<tabs>/var/log/named.log

to /etc/syslog.conf.

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list