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

ASF GitHub Bot commented on SOLR-6650:
--------------------------------------

GitHub user mewmewball opened a pull request:

    https://github.com/apache/lucene-solr/pull/102

    SOLR-6650 - Add optional slow request logging at WARN level

    Based on discussion with Chris Hostetter, make the slow warn logging an if 
condition on its own rather than an else for the info logging. Also, add "slow: 
" prefix to the log message so it's easy to spot redundancy with info level.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mewmewball/lucene-solr trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/102.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #102
    
----
commit 8096b200187b81de78862ca71026a13d6a793650
Author: Jessica Cheng <[email protected]>
Date:   2014-10-23T23:07:31Z

    SOLR-6650 - Add optional slow request logging at WARN level

commit c25993724e48343d8cc941cc0228312e9ff4f3ab
Author: Jessica Cheng <[email protected]>
Date:   2014-10-23T23:08:25Z

    Merge branch 'trunk' of https://github.com/mewmewball/lucene-solr into trunk
    
    # By Jan Høydahl
    # Via Jan Høydahl
    * 'trunk' of https://github.com/mewmewball/lucene-solr:
      SOLR-6647: Bad error message when missing resource from ZK when parsing 
Schema

commit 5c69624555b4f3f4aa21627efd57772dfa0a477c
Author: Jessica Cheng <[email protected]>
Date:   2014-10-24T18:23:37Z

    Merge branch 'trunk' of https://github.com/apache/lucene-solr into trunk

commit ba2a87b22dbc4355e663fb68a6dd4de16b42ff47
Author: Jessica Cheng <[email protected]>
Date:   2014-10-24T20:06:21Z

    SOLR-6650 - Add optional slow request logging at WARN level - Based on 
discussion with Chris Hostetter, make the slow warn logging an if condition on 
its own rather than an else for the info logging. Also, add "slow: " prefix to 
the log message so it's easy to spot redundancy with info level.

----


> Add optional slow request logging at WARN level
> -----------------------------------------------
>
>                 Key: SOLR-6650
>                 URL: https://issues.apache.org/jira/browse/SOLR-6650
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Jessica Cheng Mallet
>            Assignee: Timothy Potter
>              Labels: logging
>             Fix For: 5.0
>
>
> At super high request rates, logging all the requests can become a bottleneck 
> and therefore INFO logging is often turned off. However, it is still useful 
> to be able to set a latency threshold above which a request is considered 
> "slow" and log that request at WARN level so we can easily identify slow 
> queries.



--
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