summaryrefslogtreecommitdiffstats
path: root/vpp-common/vpp-translate-utils/src/main/java/io/fd
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-09-13 11:47:50 +0200
committerMaros Marsalek <mmarsale@cisco.com>2016-09-13 10:52:08 +0000
commit8d1f92a9623ec08e0b6c244a7278b8179862ba43 (patch)
tree96c4d0e19cbbb13820789eb3391e2e889eb9df56 /vpp-common/vpp-translate-utils/src/main/java/io/fd
parent18f191d706d7b260d75a4a1f04245f6901fe654a (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>
Diffstat (limited to 'vpp-common/vpp-translate-utils/src/main/java/io/fd')
-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();
}