summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-09-13 11:47:50 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-09-13 09:55:00 +0000
commit4053837b4e542470afeb96f09c40370e9903b2c6 (patch)
treec807641fd00a90070723543c6b7fbe75cc641c77
parent6509e0875c394fa122e56bbaa93b2f11205d1d67 (diff)
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 <mgradzki@cisco.com>
-rw-r--r--vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/v3po/util/cache/DumpCacheManager.java4
1 files changed, 2 insertions, 2 deletions
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<T, U> {
// 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();
}