Re: A question on logging

2021-06-16 Thread Victoria Risk
Also…

Logging is the topic most often searched on in our knowledge base. We have one 
article on logging that is read more often than any other, that we are planning 
to migrate to the ARM. 

https://kb.isc.org/docs/aa-01526
That article also references a webinar Carsten Strotmann presented earlier this 
year on how to use and manage logs that I would also recommend. He had a lot of 
practical tips.

Vicky


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: A question on logging

2021-06-16 Thread Anand Buddhdev
On 16/06/2021 20:36, ToddAndMargo via bind-users wrote:

Hi Todd,

> Questions:
> 
> 1) is there some pruning of old stuff mechanism to
>    keep my drive from being over run with logging
>    data?

Yes, see section 4.2.9 of the BIND manual:

https://bind9.readthedocs.io/

> 2) If I want to comment out the section, is there
>    a block comment that can be used at the top
>    and bottom of my logging statement that will
>    keep me from having to put a # in front of
>    every line?

Yes, see section 4.1.2 of the manual.

Regards,
Anand
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


A question on logging

2021-06-16 Thread ToddAndMargo via bind-users

Hi All,

In my named.conf



logging {
  channel update_debug {
   # file 
"/var/named/chroot/var/named/slaves/named-update-debug.log";

   file "slaves/named-update-debug.log";
   severity  debug 3;
   print-category yes;
   print-severity yes;
   print-time yes;
   };
   channel security_info{
   file "slaves/named-auth.info";
   severity  info;
   print-category yes;
   print-severity yes;
   print-time yes;
   };

   category update { update_debug; };
   category security { security_info; };
 };



Questions:

1) is there some pruning of old stuff mechanism to
   keep my drive from being over run with logging
   data?

2) If I want to comment out the section, is there
   a block comment that can be used at the top
   and bottom of my logging statement that will
   keep me from having to put a # in front of
   every line?

Many thanks,
-T


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users