From ef9cabddd43ba1721db5cdb25634deec1c48857b Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Tue, 13 Sep 2016 11:47:50 +0200 Subject: HONEYCOMB-210: decrease log level to DEBUG for empty dump msg Empty dump message is normal state, LOG.warn unnecessarily pollutes HC logs. Change-Id: I9a7c3a0b2d4317d3bc04e91183afab341b779d15 Signed-off-by: Marek Gradzki --- .../io/fd/honeycomb/translate/v3po/util/cache/DumpCacheManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vpp-common/vpp-translate-utils/src') diff --git a/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/v3po/util/cache/DumpCacheManager.java b/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/v3po/util/cache/DumpCacheManager.java index 272aa8473..6c526d1fa 100644 --- a/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/v3po/util/cache/DumpCacheManager.java +++ b/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/v3po/util/cache/DumpCacheManager.java @@ -62,11 +62,11 @@ public final class DumpCacheManager { // binds and execute dump to be thread-save dump = dumpExecutor.executeDump(dumpParams); - // this is not a critical exception, so its only logged here + // TODO (HONEYCOMB-210): remove empty check (empty dump is normal state, special handling is not needed) try { dumpNonEmptyCheck.assertNotEmpty(dump); } catch (DumpCheckFailedException e) { - LOG.warn("Dump for KEY[{}] has been resolved as empty", entityKey, e); + LOG.debug("Dump for KEY[{}] has been resolved as empty: {}", entityKey, e.getMessage()); return Optional.absent(); } -- cgit 1.2.3-korg