Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug Logging of GossipStatus #3635

Closed
netclectic opened this issue Oct 26, 2018 · 1 comment
Closed

Debug Logging of GossipStatus #3635

netclectic opened this issue Oct 26, 2018 · 1 comment

Comments

@netclectic
Copy link

  • Which Akka.Net version you are using
    1.3.9

  • On which platform you are using Akka.Net
    Windows 10 64Bit

When I have loglevel set to DEBUG, but with actor and cluster debug options set to off, I still continuously receive some cluster gossip debug log messages, like:

 [Uninitialized] Received Akka.Cluster.InternalClusterAction+Subscribe

 [TryingToJoin] Received Akka.Cluster.InternalClusterAction+Welcome

 [Initialized] Received Akka.Cluster.GossipEnvelope

 [Initialized] Received GossipStatus(from=UniqueAddress: (akka.tcp://migrationarchitect@127.0.0.1:4053, 410406129), version=VectorClock(E5C3551E85FDF0DE5C54487E6B71E9A9->6))
 [Initialized] Received GossipStatus(from=UniqueAddress: (akka.tcp://system@127.0.0.1:4053, 410406129), version=VectorClock(E5C3551E85FDF0DE5C54487E6B71E9A9->6))

 [Initialized] Received Akka.Cluster.InternalClusterAction+ExitingConfirmed

The GossipStatus message repeats every second or so, from each node in the cluster, while the others are just at startup / shutdown.

My hocon is as follows:

	akka {
		loggers=["Akka.Logger.Serilog.SerilogLogger, Akka.Logger.Serilog"]
		log-config-on-start = off
		loglevel = DEBUG
		stdout-loglevel = INFO

		actor {
			provider = cluster			
			debug {
				receive = off
				autoreceive = off
				lifecycle = off
				event-stream = off
				unhandled = off
			}			
		}
	
		remote {
			log-remote-lifecycle-events = INFO
			dot-netty.tcp {
				hostname = "127.0.0.1"
				port = 0
			}
		}            

		cluster {
			seed-nodes = ["akka.tcp://system@127.0.0.1:4053"]			
			debug {
				verbose-heartbeat-logging = off
				verbose-receive-gossip-logging = off
			}                    
		}
	}

I would expect the GossipStatus messages to be covered by the 'verbose-receive-gossip-logging' setting in the config and not be sent when it is set to 'off'.

Is there some other config setting that would disable these messages?

@Aaronontheweb
Copy link
Member

This is definitely a bug, and there's an opportunity for a massive user experience improvement here too. Going to get this patched before we push 1.3.10.

Aaronontheweb added a commit to Aaronontheweb/akka.net that referenced this issue Nov 1, 2018
Danthar pushed a commit that referenced this issue Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants