[ 
https://issues.apache.org/jira/browse/SOLR-6919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14295649#comment-14295649
 ] 

Gregory Chanan commented on SOLR-6919:
--------------------------------------

log4j allows you to set the log level for specific classes/packages, so it 
seems reasonable to me to start at DEBUG and if people are concerned with 
queries blowing up, they can set the proper log4j properties without it 
impacting most users.

On Alexandre's question, that's part of the reason I asked for testing, so we 
can verify we will actually be logging something useful.

> Log REST info before executing
> ------------------------------
>
>                 Key: SOLR-6919
>                 URL: https://issues.apache.org/jira/browse/SOLR-6919
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>            Reporter: Mike Drob
>            Assignee: Gregory Chanan
>            Priority: Minor
>         Attachments: SOLR-6919.patch
>
>
> We should log request info (path, parameters, etc...) before attempting to 
> execute a query. This is helpful in cases where we get a bad query that 
> causes OOM or something else catastrophic, and are doing post-event triage.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to