Akka Cluster: How to Disable ClusterHeartbeat Log

I play a little with the Akka cluster, and I had a setup with two nodes. As expected, these two nodes communicate with each other to say that they are alive through the heartbeat. So every second I have a line like this in my log

[debug] 15:42:10.683-a.c.ClusterHeartbeatSender: Cluster Node  
[akka.tcp://application@127.0.0.1:52650] - 
Heartbeat to   [akka.tcp://application@127.0.0.1:2551]

However, I would not want to see this diagnosis, since it hides my debugging information, and I am sure that the cluster is working, since it consists of two JVMs on my machine. I tried to change the configuration using

akka.cluster.log-info = off

but it doesn't seem to work for this case. How to hide this information from magazines?

0
source share
1 answer

. , .

<logger name="akka.cluster.ClusterHeartbeatSender" level="OFF"/>

logger.xml

+2

Source: https://habr.com/ru/post/1650708/


All Articles