Having trouble with logging syntax

Nate Homier bind at universal-mechanism.org
Thu Mar 3 21:45:34 UTC 2011


On Thu, 2011-03-03 at 21:56 +0100, Torinthiel wrote:
> 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

That was pointed out to me.  I put the ; in by accident.  And I missed
putting an s at the end of version.  Thanks for the reply.



More information about the bind-users mailing list