修改:topic 消息接收日志打印级别

This commit is contained in:
梁显优 2023-04-03 19:43:43 +08:00
parent 6f1d1fc98a
commit 076e8283bf

View File

@ -211,7 +211,7 @@ public class ZHubClient extends AbstractConsumer implements IConsumer, IProducer
if ((event = topicQueue.take()) == null) {
continue;
}
logger.log(Level.INFO, "topic[" + event.topic + "] :" + event.value);
logger.log(Level.FINE, "topic[" + event.topic + "] :" + event.value);
accept(event.topic, event.value);
} catch (InterruptedException e) {
e.printStackTrace();
@ -266,7 +266,7 @@ public class ZHubClient extends AbstractConsumer implements IConsumer, IProducer
if ((msg = sendMsgQueue.take()) == null) {
continue;
}
logger.log(Level.FINEST, "send-msg: [" + msg + "]");
// logger.log(Level.FINEST, "send-msg: [" + msg + "]");
writer.write(msg.getBytes());
writer.flush();
} catch (InterruptedException e) {