Having trouble with logging syntax

Todd Snyder tsnyder at rim.com
Thu Mar 3 20:43:41 UTC 2011


Change:
file "/var/log/query.log" version; 3 size 5m;

to:
file "/var/log/query.log" versions 3 size 5m;

-----Original Message-----
From: bind-users-bounces+tsnyder=rim.com at lists.isc.org [mailto:bind-users-bounces+tsnyder=rim.com at lists.isc.org] On Behalf Of Nate Homier
Sent: Thursday, March 03, 2011 3:30 PM
To: bind-users at lists.isc.org
Subject: Having trouble with logging syntax

I got my logging setup but named-checkconf is spitting out an error.

$named-checkconf /home/nate/named.conf.local
/home/nate/named.conf.local:11: missing ';' before '3'
/home/nate/named.conf.local:11: unknown option '3'

I'm pretty sure we don't put an ; after version.  I can't see anything
wrong with my config.  All my ; look to be in place.  I'm using Ubuntu
10.04.  This is strictly a resolver server on my personal PC at home.

My logging setup.

logging {
channel query.log {
file "/var/log/query.log" version; 3 size 5m;
severity warning;
print-time yes;
print-severity yes;
print-category yes;
};
category lame-servers { null; };
category default       { syslog; };
};
_______________________________________________
bind-users mailing list
bind-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.



More information about the bind-users mailing list