You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by yu...@apache.org on 2018/03/07 06:58:29 UTC
[rocketmq] branch develop updated: [ROCKETMQ-319] Replace
additional logger with InternalLogger
This is an automated email from the ASF dual-hosted git repository.
yukon pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new 06d6307 [ROCKETMQ-319] Replace additional logger with InternalLogger
06d6307 is described below
commit 06d63076e0f251a5e72756617c93324b918ddf37
Author: yukon <yu...@apache.org>
AuthorDate: Wed Mar 7 14:58:22 2018 +0800
[ROCKETMQ-319] Replace additional logger with InternalLogger
---
.../apache/rocketmq/common/protocol/body/RegisterBrokerBody.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/common/src/main/java/org/apache/rocketmq/common/protocol/body/RegisterBrokerBody.java b/common/src/main/java/org/apache/rocketmq/common/protocol/body/RegisterBrokerBody.java
index 2b49b6d..4065c08 100644
--- a/common/src/main/java/org/apache/rocketmq/common/protocol/body/RegisterBrokerBody.java
+++ b/common/src/main/java/org/apache/rocketmq/common/protocol/body/RegisterBrokerBody.java
@@ -33,13 +33,14 @@ import java.util.zip.InflaterInputStream;
import org.apache.rocketmq.common.DataVersion;
import org.apache.rocketmq.common.MixAll;
import org.apache.rocketmq.common.TopicConfig;
+import org.apache.rocketmq.common.constant.LoggerName;
+import org.apache.rocketmq.logging.InternalLogger;
+import org.apache.rocketmq.logging.InternalLoggerFactory;
import org.apache.rocketmq.remoting.protocol.RemotingSerializable;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
public class RegisterBrokerBody extends RemotingSerializable {
- private static final Logger LOGGER = LoggerFactory.getLogger(RegisterBrokerBody.class);
+ private static final InternalLogger LOGGER = InternalLoggerFactory.getLogger(LoggerName.COMMON_LOGGER_NAME);
private TopicConfigSerializeWrapper topicConfigSerializeWrapper = new TopicConfigSerializeWrapper();
private List<String> filterServerList = new ArrayList<String>();
--
To stop receiving notification emails like this one, please contact
yukon@apache.org.