@Override public void addSession(ConnectionContext context, SessionInfo info) throws Exception { if (isLogAll() || isLogSessionEvents()) { LOG.info("Adding Session: {}", info); } super.addSession(context, info); }
@Override public void removeSession(ConnectionContext context, SessionInfo info) throws Exception { if (isLogAll() || isLogSessionEvents()) { LOG.info("Removing Session: {}", info); } super.removeSession(context, info); }
@Override public String toString() { StringBuffer buf = new StringBuffer(); buf.append("LoggingBrokerPlugin("); buf.append("logAll="); buf.append(isLogAll()); buf.append(", logConnectionEvents="); buf.append(isLogConnectionEvents()); buf.append(", logSessionEvents="); buf.append(isLogSessionEvents()); buf.append(", logConsumerEvents="); buf.append(isLogConsumerEvents()); buf.append(", logProducerEvents="); buf.append(isLogProducerEvents()); buf.append(", logTransactionEvents="); buf.append(isLogTransactionEvents()); buf.append(", logInternalEvents="); buf.append(isLogInternalEvents()); buf.append(")"); return buf.toString(); }
@Override public void addSession(ConnectionContext context, SessionInfo info) throws Exception { if (isLogAll() || isLogSessionEvents()) { LOG.info("Adding Session: {}", info); } super.addSession(context, info); }
@Override public void removeSession(ConnectionContext context, SessionInfo info) throws Exception { if (isLogAll() || isLogSessionEvents()) { LOG.info("Removing Session: {}", info); } super.removeSession(context, info); }
@Override public void addSession(ConnectionContext context, SessionInfo info) throws Exception { if (isLogAll() || isLogSessionEvents()) { LOG.info("Adding Session: {}", info); } super.addSession(context, info); }
@Override public void removeSession(ConnectionContext context, SessionInfo info) throws Exception { if (isLogAll() || isLogSessionEvents()) { LOG.info("Removing Session: {}", info); } super.removeSession(context, info); }
@Override public void addSession(ConnectionContext context, SessionInfo info) throws Exception { if (isLogAll() || isLogSessionEvents()) { LOG.info("Adding Session: {}", info); } super.addSession(context, info); }
@Override public void removeSession(ConnectionContext context, SessionInfo info) throws Exception { if (isLogAll() || isLogSessionEvents()) { LOG.info("Removing Session: {}", info); } super.removeSession(context, info); }
@Override public String toString() { StringBuffer buf = new StringBuffer(); buf.append("LoggingBrokerPlugin("); buf.append("logAll="); buf.append(isLogAll()); buf.append(", logConnectionEvents="); buf.append(isLogConnectionEvents()); buf.append(", logSessionEvents="); buf.append(isLogSessionEvents()); buf.append(", logConsumerEvents="); buf.append(isLogConsumerEvents()); buf.append(", logProducerEvents="); buf.append(isLogProducerEvents()); buf.append(", logTransactionEvents="); buf.append(isLogTransactionEvents()); buf.append(", logInternalEvents="); buf.append(isLogInternalEvents()); buf.append(")"); return buf.toString(); }
@Override public String toString() { StringBuffer buf = new StringBuffer(); buf.append("LoggingBrokerPlugin("); buf.append("logAll="); buf.append(isLogAll()); buf.append(", logConnectionEvents="); buf.append(isLogConnectionEvents()); buf.append(", logSessionEvents="); buf.append(isLogSessionEvents()); buf.append(", logConsumerEvents="); buf.append(isLogConsumerEvents()); buf.append(", logProducerEvents="); buf.append(isLogProducerEvents()); buf.append(", logTransactionEvents="); buf.append(isLogTransactionEvents()); buf.append(", logInternalEvents="); buf.append(isLogInternalEvents()); buf.append(")"); return buf.toString(); }
@Override public String toString() { StringBuffer buf = new StringBuffer(); buf.append("LoggingBrokerPlugin("); buf.append("logAll="); buf.append(isLogAll()); buf.append(", logConnectionEvents="); buf.append(isLogConnectionEvents()); buf.append(", logSessionEvents="); buf.append(isLogSessionEvents()); buf.append(", logConsumerEvents="); buf.append(isLogConsumerEvents()); buf.append(", logProducerEvents="); buf.append(isLogProducerEvents()); buf.append(", logTransactionEvents="); buf.append(isLogTransactionEvents()); buf.append(", logInternalEvents="); buf.append(isLogInternalEvents()); buf.append(")"); return buf.toString(); }