logging via named.conf
/dev/rob0
rob0 at gmx.co.uk
Sat May 31 14:26:13 UTC 2014
On Wed, May 28, 2014 at 09:58:39PM -0700, Jim Pazarena wrote:
> Is there an easy way in the named.conf logging to
> have ALL logging go to local2 ?
>
> I've created:
>
> logging {
> channel syslog-local2 {
> syslog local2;
> print-category yes;
> print-severity yes;
> };
>
> category default { syslog-local2; };
};
// Stop, right here! You're done.
/*
> category general { syslog-local2; };
> category database { syslog-local2; };
> category security { syslog-local2; };
> --More--(44%)
*/
> </QUOTE>
>
> A lot of messages get to local2, but some things (like
> general.warning) don't get to local2, but still get to
> syslog messages.
Do you mean to other facilities, such as daemon, the default?
> Is there an easy catch-all for ALL named logging ?
"category default" covers everything not specifically listed. When
other categories are listed in the logging stanza, those are removed
from "category default".
--
http://rob0.nodns4.us/
Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:
More information about the bind-users
mailing list