lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Woodward (JIRA)" <>
Subject [jira] [Updated] (SOLR-8156) RequestHandlerBase.handleRequest logs stacktraces caused by user requests
Date Mon, 19 Oct 2015 09:07:05 GMT


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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message