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

Mike Drob commented on SOLR-6919:
---------------------------------

[~gchanan] - Good question, I will figure out a way to test the output.

[~mwc] - I originally did DEBUG because I was worried about essentially 
doubling the amount of logging happening per request. All of the info is 
already logged after query completion, so I was worried about too much 
information when generally we won't need it. Your thoughts?

[~arafalov] - I'm think this only logs the info that came in to the system. It 
is my impression that the defaults get added in {{handleRequest}}. Since that 
method could explode for unknown reasons, though, the impetus here is to log 
before any of that happens. What do you think?

> 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
>            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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to