[ROCKETMQ-37] Polish log output information in MQClientManager, closes apache/incubator-rocketmq#33, closes apache/incubator-rocketmq#26

This commit is contained in:
a2888409
2017-01-20 10:55:48 +08:00
committed by yukon
parent 4291348ef7
commit 69361f60b7
2 changed files with 3 additions and 2 deletions
@@ -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);
}
}