[ 
https://issues.apache.org/jira/browse/SOLR-713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lars Kotthoff updated SOLR-713:
-------------------------------

    Attachment: SOLR-713.patch

Attaching initial attempt at this which logs the query, highlight, and facet 
parameter for every query on INFO level and the whole query string on FINE 
level to reduce log noise.

In the long term the parameters logged on INFO for each request should probably 
be configurable in solrconfig.xml, but this should probably be tackled as part 
of a separate issue.

> Differentiated request logging
> ------------------------------
>
>                 Key: SOLR-713
>                 URL: https://issues.apache.org/jira/browse/SOLR-713
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Lars Kotthoff
>            Priority: Minor
>         Attachments: SOLR-713.patch
>
>
> Currently the complete query string is logged for all search requests. When 
> the query string is large, the logs tend to become hard to read. Worse, when 
> using a sharded setup and faceting the query string during the facet count 
> refine phase contains the IDs of all documents for which facet counts are 
> requested, easily amounting to several GB of logs over the course of a day 
> when the number of facets is large.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to