Add additional logging
Change-Id: I5e2b5487afd4b63d597fbb1d4a7a9c27738fa734
This commit is contained in:
parent
2507e04dd8
commit
b401ce7b72
@ -96,11 +96,14 @@ public class ZMQRunnable implements Runnable {
|
||||
bindSocket();
|
||||
if (publisher != null) {
|
||||
try {
|
||||
LOGGER.log(Level.FINE, "Publishing ZMQ event: " + event);
|
||||
publisher.send(event.getBytes(), 0);
|
||||
} catch (ZMQException e) {
|
||||
LOGGER.log(Level.INFO,
|
||||
"Unable to send event. " + e.toString(), e);
|
||||
}
|
||||
} else {
|
||||
LOGGER.log(Level.WARNING, "ZMQ Publisher is NULL");
|
||||
}
|
||||
}
|
||||
// Catch all exceptions so that this thread does not die.
|
||||
|
Loading…
x
Reference in New Issue
Block a user