Rotating Log Files
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Thu Jan 16 23:53:31 UTC 2003
> Upgraded form BIND 8.2.1 to BIND 9.2.1 on a HP-UX 11.0 box this week. This
> worked on BIND 8.2.1 but I'm not to sure why
> it will not work on BIND 9.2.1. It makes one qlog file of 60 M and then
> stops writting and never rotates qlog to qlog.0 and starts a new qlog file.
Known bug. See lib/isc/log.c:roll_log and replace FILENAME_MAX with
something sensible like 1024. FILENAME_MAX is 14 under HPUX.
Mark
> /etc/named.conf -
>
> channel query_logging {
> /* keep up to 7 qlog files of 60 Mbytes */
> file "/PRODUCT/dns/qlog" versions 7 size 60m;
> print-time yes; };
>
> category notify {to-syslog;};
> category lame-servers { lamecname-log; };
> category security { to-syslog; bind-debug; };
> category xfer-in { to-syslog; bind-debug; };
> category xfer-out { to-syslog; bind-debug; };
> category queries { query_logging; };
> category default { to-syslog; log-default; };
>
> Randy
>
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at isc.org
More information about the bind-users
mailing list