You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2015/10/12 10:28:05 UTC

[jira] [Created] (SOLR-8156) RequestHandlerBase.handleRequest logs stacktraces caused by user requests

Alan Woodward created SOLR-8156:
-----------------------------------

             Summary: RequestHandlerBase.handleRequest logs stacktraces caused by user requests
                 Key: SOLR-8156
                 URL: https://issues.apache.org/jira/browse/SOLR-8156
             Project: Solr
          Issue Type: Bug
            Reporter: Alan Woodward
            Priority: Minor


Bad user requests (eg syntax errors in queries) fill up solr logs with stacktraces, which makes tracking down actual errors much more difficult.

Error logging is handled in both RequestHandlerBase and HttpSolrCall at the moment.  HttpSolrCall tries to be a bit cleverer about it, only logging stacktraces for server errors.  I suggest we just remove the logging from RHB entirely.  This should also clear up some cases where errors get logged twice.



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

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