Having trouble with logging syntax

Warren Kumari warren at kumari.net
Thu Mar 3 20:44:37 UTC 2011


On Mar 3, 2011, at 3:30 PM, Nate Homier wrote:

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

Erm, but there is one in your example -- just wanted to make sure you  
knew...

Anyway, I think it is 'versions' (plural), not 'version' (singular)....


W

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

--
Hope is not a strategy.
       --  Ben Treynor, Google





More information about the bind-users mailing list