summaryrefslogtreecommitdiffstats
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
commitef9cabddd43ba1721db5cdb25634deec1c48857b (patch)
treebaa5645d52c32d6c7ac4a4e8b8c491b97daa3039
parent8dd5fee59f4af71bff5dbf4b065cfeca84ebb3f7 (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();
}