probleme mit syslog facility unter freebsd 6.0 und bind 9.3.1

From: Thomas Vogt <thomas(at)bsdunix.ch>
Date: Mon, 05 Dec 2005 13:52:59 +0100

Hallo

Ich versuche gerade Bind 9.3.1 auf dem Base System von FreeBSD 6.0
(i386) beizubringen alles nach /var/log/named.log zu loggen.

Die Bind Docu schreibt, dass man einfach die syslog facility ändern kann
auf local0-9. Irgendwie scheint dies bei mir nicht zu funktionieren:

syslog.conf
local7.* /var/log/named.log

named.conf:
logging {
  category default {
        default_syslog;
        default_debug;
        };

  channel my_syslog {
     syslog local7;
     severity debug;
    
  };
};

Ändere ich "syslog local7" auf "syslog daemon" und passe die facility
auf daemon.* in syslog.conf an, dann loggt bind 9.3.1
nach /var/log/named.log aber auch ins /var/log/messages. Ich mag es
jedoch nicht, wenn bind alles nach /var/log/messages loggt.

Syslog-ng und das loggen mit file: wäre ein workaround. Aber eigentlich
möchte ich dieses Problem mit syslog lösen.

Ist das ein Bug in FreeBSDs bind Version?

Gruss

-- 
Thomas Vogt <thomas(at)bsdunix.ch>
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 05 Dec 2005 - 13:59:17 CET

search this site