mirror of
https://github.com/apache/rocketmq.git
synced 2026-10-30 18:44:38 +08:00
[ROCKETMQ-37] Polish log output information in MQClientManager, closes apache/incubator-rocketmq#33, closes apache/incubator-rocketmq#26
This commit is contained in:
+1
-1
@@ -184,7 +184,7 @@ public class SubscriptionGroupManager extends ConfigManager {
|
||||
this.dataVersion.nextVersion();
|
||||
this.persist();
|
||||
} else {
|
||||
log.warn("delete subscription group failed, subscription group: {} not exist", old);
|
||||
log.warn("delete subscription group failed, subscription groupName: {} not exist", groupName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,8 +53,9 @@ public class MQClientManager {
|
||||
MQClientInstance prev = this.factoryTable.putIfAbsent(clientId, instance);
|
||||
if (prev != null) {
|
||||
instance = prev;
|
||||
log.warn("Returned Previous MQClientInstance for clientId:[{}]", clientId);
|
||||
} else {
|
||||
log.warn("Previous MQClientInstance has created for clientId:[{}]", clientId);
|
||||
log.info("Created new MQClientInstance for clientId:[{}]", clientId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user