From 3afeac5b125af71592d185b142cd816c95a3c579 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Fri, 3 Aug 2012 20:28:33 +0300 Subject: [PATCH] better debug output when failing to load global state file --- .../gateway/local/state/meta/LocalGatewayMetaState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/gateway/local/state/meta/LocalGatewayMetaState.java b/src/main/java/org/elasticsearch/gateway/local/state/meta/LocalGatewayMetaState.java index 8777af2bb5a..08573905e80 100644 --- a/src/main/java/org/elasticsearch/gateway/local/state/meta/LocalGatewayMetaState.java +++ b/src/main/java/org/elasticsearch/gateway/local/state/meta/LocalGatewayMetaState.java @@ -545,7 +545,7 @@ public class LocalGatewayMetaState extends AbstractComponent implements ClusterS } } } catch (Exception e) { - logger.debug(""); + logger.debug("failed to load global state from [{}]", e, stateFile.getAbsolutePath()); } } }