SOLR-6380: Added missing context info to log message if IOException occurs in processing tlog

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618272 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2014-08-15 20:50:47 +00:00
parent 73bb9c91d9
commit 0baa187e09
2 changed files with 4 additions and 1 deletions

View File

@ -278,6 +278,9 @@ Bug Fixes
* SOLR-6284: Fix NPE in OCP when non-existent sliceId is used for a
deleteShard request (Ramkumar Aiyengar via Anshum Gupta)
* SOLR-6380: Added missing context info to log message if IOException occurs in processing tlog
(Steven Bower via hossman)
Optimizations
---------------------

View File

@ -794,7 +794,7 @@ public class UpdateLog implements PluginInfoInitialized {
continue;
}
} catch (IOException e) {
log.error("Error inspecting tlog " + ll);
log.error("Error inspecting tlog " + ll, e);
ll.decref();
continue;
}