Having trouble with logging syntax

Torinthiel torinthiel at data.pl
Thu Mar 3 20:56:13 UTC 2011


Dnia 2011-03-03 13:30 Nate Homier napisał(a):

>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;

that would by file "/var/log/query.log" version 3 size 5m;
You want 3 versions, so why separate keyword from its parameter?
Torinthiel


More information about the bind-users mailing list