SOLR-13222: Improve logging in StreamingSolrClients (Peter Cseh via Kevin Risden)

Signed-off-by: Kevin Risden <krisden@apache.org>
This commit is contained in:
Kevin Risden 2019-02-20 09:54:19 -05:00
parent a89b065c1f
commit 86fe24cbef
No known key found for this signature in database
GPG Key ID: 040FAE3292C5F73F
2 changed files with 6 additions and 1 deletions

View File

@ -71,8 +71,13 @@ Improvements
* SOLR-12121: JWT Token authentication plugin with OpenID Connect implicit flow login through Admin UI (janhoy) * SOLR-12121: JWT Token authentication plugin with OpenID Connect implicit flow login through Admin UI (janhoy)
Other Changes
----------------------
* SOLR-11763: Upgrade Guava to 25.1-jre (Markus Jelsma, Kevin Risden) * SOLR-11763: Upgrade Guava to 25.1-jre (Markus Jelsma, Kevin Risden)
* SOLR-13222: Improve logging in StreamingSolrClients (Peter Cseh via Kevin Risden)
================== 8.0.0 ================== ================== 8.0.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.

View File

@ -123,7 +123,7 @@ class ErrorReportingConcurrentUpdateSolrClient extends ConcurrentUpdateHttp2Solr
@Override @Override
public void handleError(Throwable ex) { public void handleError(Throwable ex) {
log.error("error", ex); log.error("Error when calling {} to {}", req.toString(), req.node.getUrl(), ex);
Error error = new Error(); Error error = new Error();
error.e = (Exception) ex; error.e = (Exception) ex;
if (ex instanceof SolrException) { if (ex instanceof SolrException) {