Removed excessive dump trees, lowered to trace level
This commit is contained in:
@@ -126,7 +126,7 @@ public class ProtocolProcessor {
|
|||||||
this.subscriptions = subscriptions;
|
this.subscriptions = subscriptions;
|
||||||
this.allowAnonymous = allowAnonymous;
|
this.allowAnonymous = allowAnonymous;
|
||||||
m_authorizator = authorizator;
|
m_authorizator = authorizator;
|
||||||
LOG.debug("subscription tree on init {}", subscriptions.dumpTree());
|
LOG.trace("subscription tree on init {}", subscriptions.dumpTree());
|
||||||
m_authenticator = authenticator;
|
m_authenticator = authenticator;
|
||||||
m_messagesStore = storageService;
|
m_messagesStore = storageService;
|
||||||
m_sessionsStore = sessionsStore;
|
m_sessionsStore = sessionsStore;
|
||||||
@@ -357,9 +357,9 @@ public class ProtocolProcessor {
|
|||||||
final AbstractMessage.QOSType publishingQos = pubEvt.getQos();
|
final AbstractMessage.QOSType publishingQos = pubEvt.getQos();
|
||||||
final ByteBuffer origMessage = pubEvt.getMessage();
|
final ByteBuffer origMessage = pubEvt.getMessage();
|
||||||
LOG.debug("forward2Subscribers republishing to existing subscribers that matches the topic {}", topic);
|
LOG.debug("forward2Subscribers republishing to existing subscribers that matches the topic {}", topic);
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isTraceEnabled()) {
|
||||||
LOG.debug("content <{}>", DebugUtils.payload2Str(origMessage));
|
LOG.trace("content <{}>", DebugUtils.payload2Str(origMessage));
|
||||||
LOG.debug("subscription tree {}", subscriptions.dumpTree());
|
LOG.trace("subscription tree {}", subscriptions.dumpTree());
|
||||||
}
|
}
|
||||||
//if QoS 1 or 2 store the message
|
//if QoS 1 or 2 store the message
|
||||||
String guid = null;
|
String guid = null;
|
||||||
@@ -614,6 +614,9 @@ public class ProtocolProcessor {
|
|||||||
|
|
||||||
//save session, persist subscriptions from session
|
//save session, persist subscriptions from session
|
||||||
LOG.debug("SUBACK for packetID {}", msg.getMessageID());
|
LOG.debug("SUBACK for packetID {}", msg.getMessageID());
|
||||||
|
if (LOG.isTraceEnabled()) {
|
||||||
|
LOG.trace("subscription tree {}", subscriptions.dumpTree());
|
||||||
|
}
|
||||||
session.write(ackMessage);
|
session.write(ackMessage);
|
||||||
|
|
||||||
//fire the publish
|
//fire the publish
|
||||||
|
|||||||
Reference in New Issue
Block a user