hi!
Thomas Vogt schrieb:
>Am Montag, den 05.12.2005, 14:35 +0100 schrieb Peter Wullinger:
>
>
>
>>
>>Du kannst syslogd(8) nach Programmname protokollieren lassen. In
>>dem Fall sehe ich da jetzt keine Nachteile:
>>
>>/etc/syslog.conf
>># [...]
>>!named
>>*.* /var/log/named.log
>># [...]
>>
>>
>
>Damit geht es, danke. Neu habe ich nun die facility auf daemon gestellt,
>wie die DNS Docu von Oreilly (4. Auflage) erklärt wird. Ausserdem ein
>named.none bei /var/log/messages
>
>
>
>
>>>syslog.conf
>>>local7.* /var/log/named.log
>>>
>>>
>>
>>
>>
>>>named.conf:
>>>logging {
>>> category default {
>>> default_syslog;
>>> default_debug;
>>> };
>>>
>>> channel my_syslog {
>>> syslog local7;
>>> severity debug;
>>>
>>> };
>>>};
>>>
>>>
>>
>>Was genau passiert in diesem Fall?
>>
>>
>
>Es wird gar nichts geloggt. Weder in messages noch in named.log
>
>Gruss
>
>
also die config arbeitet bei mir.
named.conf:
[...]
logging {
channel my_syslog {
syslog local6;
severity info;
};
category default { my_syslog; };
category general { my_syslog; };
category security { my_syslog; };
category config { my_syslog; };
category xfer-in { my_syslog; };
category xfer-out { my_syslog; };
category notify { my_syslog; };
category client { my_syslog; };
category network { my_syslog; };
category update { my_syslog; };
# category queries { my_syslog; };
};
[...]
lg,
otto
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 - 16:38:40 CET