[Yazlist] Configure Zoom filter/ yaz log by metaproxy config files

Marios Bartzokas mbartzokas at atypon.com
Tue May 26 14:51:53 UTC 2015


Hi,

I use metaproxy to translate my sru queries to solr ones with the help of
the zoom filter.
I also use the yaz log, being the log system that metaproxy uses.

I can't find a way to configure the zoom filter or the yaz log with entries
in the metaproxy config files so as to achieve the following;

1) Control what and how zoom logs in the yaz log, like specifying the line
format and limiting the lines it logs.
ex:
2015-05-26 16:55:44 4710 [log] zoom ::ffff:127.0.0.1:3 3 url: <my url>
2015-05-26 16:55:44 4710 [log] zoom ::ffff:127.0.0.1:3 3 CQL:
dc.identifier=*
2015-05-26 16:55:44 4710 [log] zoom ::ffff:127.0.0.1:3 3 CCL: identifier=?
2015-05-26 16:55:44 4710 [log] zoom ::ffff:127.0.0.1:3 3 RPN: <my RPN>
2015-05-26 16:55:44 4710 [log] zoom ::ffff:127.0.0.1:3 3 search CQL: <my
CQL>
2015-05-26 16:55:44 4710 [log] zoom ::ffff:127.0.0.1:3 3 pz2_retrieval: no
. pz2_transform: no

Out of the above 6 lines I would only like to log the 5th one.

2) I can't change the default size limit of the yaz log file from 1GB.

2) The zoom filter generates solr queries which contain "defType=lucene" by
default. But I wish to use a different query parser and I can't find a way
to tell zoom in the metaproxy config.

Thanks,
Marios
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.indexdata.dk/pipermail/yazlist/attachments/20150526/8ebe60ce/attachment.html>


More information about the Yazlist mailing list