GH-1 - Polish logging incomplete event publications on shutdown.

This commit is contained in:
Oliver Drotbohm
2022-07-28 18:49:49 +02:00
parent 7cf3892360
commit 792efa6051

View File

@@ -82,10 +82,10 @@ public class DefaultEventPublicationRegistry implements DisposableBean, EventPub
for (int i = 0; i < publications.size(); i++) {
String prefix = (i + 1) == publications.size() ? "└─" : "├─";
String prefix = i + 1 == publications.size() ? "└─" : "├─";
EventPublication it = publications.get(i);
LOG.info("{} - {} - {}", prefix, it.getEvent().getClass().getName(), it.getTargetIdentifier().getValue());
LOG.info("{} {} - {}", prefix, it.getEvent().getClass().getName(), it.getTargetIdentifier().getValue());
}
}