HIGUCHI Yuta
Committed by Gerrit Code Review

ONOS-3996 shorter warn log message

- Print only number of failed values at WARN level
- Details can still be observed if log level set to DEBUG

Change-Id: I0964df33c2b0638bcb460949826956672999181d
...@@ -239,7 +239,9 @@ public class ConsistentResourceStore extends AbstractStore<ResourceEvent, Resour ...@@ -239,7 +239,9 @@ public class ConsistentResourceStore extends AbstractStore<ResourceEvent, Resour
239 } 239 }
240 240
241 if (!removeValues(childTxMap, entry.getKey(), entry.getValue())) { 241 if (!removeValues(childTxMap, entry.getKey(), entry.getValue())) {
242 - log.warn("Failed to unregister {}: Failed to remove values: {}", 242 + log.warn("Failed to unregister {}: Failed to remove {} values.",
243 + entry.getKey(), entry.getValue().size());
244 + log.debug("Failed to unregister {}: Failed to remove values: {}",
243 entry.getKey(), entry.getValue()); 245 entry.getKey(), entry.getValue());
244 return abortTransaction(tx); 246 return abortTransaction(tx);
245 } 247 }
......