couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: query_server_config
Date Fri, 15 Apr 2011 10:50:08 GMT
Hi Alexander,

On 15 Apr 2011, at 12:28, Alexander Shorin wrote:

> Hi, all.
> 
> I've tried to add custom parameters to query_server_config section in
> hope that they would be passed to view server, where I could dispatch
> them to set logging level, logging handlers, json default module etc.
> However, I've failed and  nnly reduce_limit option still had passed to
> view server:
> [u'reset', {u'reduce_limit': True}]
> I've tried to set options via Futon, local.ini and default.ini (that
> just was the last hope) - still no changes in input json string.
> 
> Is this a bug or just not implemented feature?

According to https://github.com/apache/couchdb/blob/trunk/src/couchdb/couch_query_servers.erl#L277
you can't pass arbitrary options to the query server currently. I wouldn't say this is a bug,
but it would be a nice feature :)

Cheers
Jan
-- 



> 
> CouchDB server 1.0.2 release
> 
> Tried configuration:
> [query_server_config]
> reduce_limit = True
> log_level = debug
> log_email = support@localhost
> test = should it be passed?
> 
> I just don't think that passing all this options to query server as
> command line arguments is good idea when there is a special section
> for config options. Or I'm wrong?
> 
> 
> ------------------
> ,,,^..^,,,


Mime
View raw message