Guo Jiwei created TUBEMQ-180:
--------------------------------
Summary: Improvement for BrokerSamplePrint
Key: TUBEMQ-180
URL: https://issues.apache.org/jira/browse/TUBEMQ-180
Project: Apache TubeMQ
Issue Type: Improvement
Reporter: Guo Jiwei
1. BrokerSamplePrint uses the logger transferred from the TubeBroker, actually
not necessary. We can create logger in this class.
2. Remove the buidler in the log context
{code:java}
logger.error(sBuilder
.append("[heartbeat failed] heartbeat to master
exception 2 is ")
.append(e.toString()).toString());
logger.error(sBuilder
.append("[heartbeat failed] heartbeat to master
exception 4 is ")
.append(e.toString()).toString());
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)