[
https://issues.apache.org/jira/browse/SOLR-8156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Woodward updated SOLR-8156:
--------------------------------
Attachment: SOLR-8156.patch
Patch removing error logging from RequestHandlerBase entirely. I've checked
this works via visual inspection, but I'd like to get some proper log testing
in here somehow, possibly via JettySolrRunner, which I will look at when I get
a minute.
> 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
> Attachments: SOLR-8156.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]