[ratelimits] rate limit vs querylog

Pete Ashdown pashdown at xmission.com
Fri Sep 28 19:01:33 UTC 2012


On 09/28/2012 01:23 AM, Mathieu Arnold wrote:
> I was seeing that in my case, there were thousands of these every second,
> and it filled up my /var partition pretty quickly. Had to do a logging {
> category queries { null; }; }; 
>

I use the "size" argument and also have my named logs on tmpfs.  This keeps
a ceiling on it and also reduces disk activity considerably.

logging {
    channel query_logging {
        file "/var/log/named/query.log"
         versions 3 size 100M;
        severity debug 3;
         print-time yes;                 // timestamp log entries
      };
      category queries {
          query_logging;
      };
};



More information about the ratelimits mailing list