Adding trace logging to IntentManger
Change-Id: I6cd55521484f52223de5cec563f13b61d97ae4a9
Showing
1 changed file
with
8 additions
and
0 deletions
... | @@ -501,6 +501,14 @@ public class IntentManager | ... | @@ -501,6 +501,14 @@ public class IntentManager |
501 | } | 501 | } |
502 | }); | 502 | }); |
503 | 503 | ||
504 | + if (log.isTraceEnabled()) { | ||
505 | + log.trace("applying intent {} -> {} with {} rules: {}", | ||
506 | + toUninstall.isPresent() ? toUninstall.get().key() : "<empty>", | ||
507 | + toInstall.isPresent() ? toInstall.get().key() : "<empty>", | ||
508 | + operations.stages().stream().mapToLong(i -> i.size()).sum(), | ||
509 | + operations.stages()); | ||
510 | + } | ||
511 | + | ||
504 | flowRuleService.apply(operations); | 512 | flowRuleService.apply(operations); |
505 | } | 513 | } |
506 | 514 | ... | ... |
-
Please register or login to post a comment