You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tubemq.apache.org by "Guo Jiwei (Jira)" <ji...@apache.org> on 2020/06/01 15:19:00 UTC
[jira] [Created] (TUBEMQ-180) Improvement for BrokerSamplePrint
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)