mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
Set clean log level to debug
This commit is contained in:
+2
-2
@@ -81,7 +81,7 @@ public class MessageExchangeServiceImpl implements MessageExchangeService {
|
||||
@Override
|
||||
public void removeTopic(Topic topic) throws MessageExchangeException {
|
||||
topicMap.remove(topic);
|
||||
logger.info("remove topic: {}", topic);
|
||||
logger.debug("remove topic: {}", topic);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -221,7 +221,7 @@ public class MessageExchangeServiceImpl implements MessageExchangeService {
|
||||
long idle = now - topicData.getLastActiveTime();
|
||||
if (!topicData.isSubscribed() && idle > timeout) {
|
||||
try {
|
||||
logger.info("cleaning idle topic: {}, idle time: {}", topicData.topic, idle);
|
||||
logger.debug("cleaning idle topic: {}, idle time: {}", topicData.topic, idle);
|
||||
removeTopic(topicData.topic);
|
||||
} catch (Exception e) {
|
||||
logger.error("clean topic failure, topic: "+ topicData.topic, e);
|
||||
|
||||
+1
-1
@@ -188,7 +188,7 @@ public class LegacyApiController {
|
||||
long idleTime = currentTimeMillis - entry.getValue().time;
|
||||
boolean outdated = idleTime > topicSurvivalTimeMills;
|
||||
if (outdated) {
|
||||
logger.info("Removing inactive request data, idle time: {}, sessionId: {}, request: {}", idleTime, entry.getKey(), entry.getValue());
|
||||
logger.debug("Removing inactive request data, idle time: {}, sessionId: {}, request: {}", idleTime, entry.getKey(), entry.getValue());
|
||||
}
|
||||
return outdated;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user