From 0baa187e096f71502f60ebec2728559eb6ca0e7e Mon Sep 17 00:00:00 2001 From: "Chris M. Hostetter" Date: Fri, 15 Aug 2014 20:50:47 +0000 Subject: [PATCH] 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 --- solr/CHANGES.txt | 3 +++ solr/core/src/java/org/apache/solr/update/UpdateLog.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 95ca509415c..bae3f242f4f 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -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 --------------------- diff --git a/solr/core/src/java/org/apache/solr/update/UpdateLog.java b/solr/core/src/java/org/apache/solr/update/UpdateLog.java index 3099e214d61..6e91d1f4fc5 100644 --- a/solr/core/src/java/org/apache/solr/update/UpdateLog.java +++ b/solr/core/src/java/org/apache/solr/update/UpdateLog.java @@ -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; }