Skip to content

Commit

Permalink
[#noissue] Fix log level of cluster manager
Browse files Browse the repository at this point in the history
  • Loading branch information
jaehong-kim committed Oct 24, 2022
1 parent b89dff7 commit c8a3d96
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ public List<PinpointSocket> getSocket(ClusterKey clusterKey) {
List<ClusterId> clusterIdList = clusterDataManager.getRegisteredAgentList(clusterKey);

if (clusterIdList.isEmpty()) {
logger.warn("{} couldn't find agent.", clusterKey);
logger.debug("{} couldn't find agent.", clusterKey);
return Collections.emptyList();
} else if (clusterIdList.size() > 1) {
logger.warn("{} found duplicate agent {}.", clusterKey, clusterIdList);
logger.debug("{} found duplicate agent {}.", clusterKey, clusterIdList);
}

List<PinpointSocket> pinpointSocketList = new ArrayList<>(clusterIdList.size());
Expand Down

0 comments on commit c8a3d96

Please sign in to comment.