From 2ac4d4f975ea73ef4a87a52d442b4b5cde7ea619 Mon Sep 17 00:00:00 2001 From: Richard Cordovano Date: Mon, 23 Nov 2015 15:40:42 -0500 Subject: [PATCH] Remove incorrect error logging from AutopsyEventPublisher --- .../sleuthkit/autopsy/events/AutopsyEventPublisher.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/events/AutopsyEventPublisher.java b/Core/src/org/sleuthkit/autopsy/events/AutopsyEventPublisher.java index 2d8debc7f4..6b679415f9 100644 --- a/Core/src/org/sleuthkit/autopsy/events/AutopsyEventPublisher.java +++ b/Core/src/org/sleuthkit/autopsy/events/AutopsyEventPublisher.java @@ -162,6 +162,9 @@ public final class AutopsyEventPublisher { * @param event The event to publish. */ public void publishRemotely(AutopsyEvent event) { + /* + * This is a no-op if a remote channel has not been opened. + */ if (null != currentChannelName) { boolean published = false; int tryCount = 1; @@ -181,9 +184,7 @@ public final class AutopsyEventPublisher { ++tryCount; } } - } else { - logger.log(Level.SEVERE, "Attempt to publish {0} event remotely with no open channel", event.getPropertyName()); //NON-NLS - } + } } }