Christopher Browne cbbrowne
Thu Dec 21 14:17:12 PST 2006
Mark Stosberg wrote:
> Here's something that could be improved in the documentation. Because
> the documentation is currently inconsistent on this point, I'm not sure
> how to resolve it myself.
>
> It looks like "log_level" and "debuglevel" are used interchangeably in
> the documentation.
>
> I think one should be chosen as a standard and the other eradicated.
>
>   
Yes, you're probably right about that.
> Also, there is conflicting information about the what the allowed values
> and the default is.
>
> - in slon_tools.pm "-d2" is hardcoded. This should be an option, either
> settable in slon_tools.conf, or on the command line with slon_start.
>
> - mkslonconf.sh says valid values are from 0-4, with 4 being the
> default, although the next line indicates maybe the default is 2:
>
> # Debug log level (higher value ==> more output).  Range: [0,4], default 4
> #log_level=2
>
>
> - This page in the admin guide suggests that there are 8 levels of
> logging, but they are given strings such as "error". No default is named
> There . "debuglevel" and "log_level" are used interchangeably here.
> http://www.cbbrowne.com/info/slon.html
>
> - In slon.c, "debuglevel" is referenced, but the valid values are 1-4,
> not 0-4.
>   

Reality, I think, is 1-4.


Making things more consistent would be a good thing...  I have some long
train rides that should offer some time to look at that...



More information about the Slony1-general mailing list