Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Operability
-
Low Hanging Fruit
-
All
-
None
-
Description
The DiagnosticEventService logs each publish (if the event is enabled) using a logger, but the different events do not override the toString; this leaves the following logs
Publishing: org.apache.cassandra.gms.GossiperEvent@3cadeef2 Publishing: org.apache.cassandra.gms.GossiperEvent@6159419d Publishing: org.apache.cassandra.service.PendingRangeCalculatorServiceEvent@18e52b1 Publishing: org.apache.cassandra.locator.TokenMetadataEvent@43a76a1a etc.
To make these logs more meaningful, we might want to consider matching the persistent logic and convert the event to a map and then logging the map