-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
Introduce a configurable time during which identical log warnings are suppressed. Examples:
- Suppress all warnings about messages received from a given member in a different clusters
- Suppress all warnings about messages received from a member running a different (incompatible) version of JGroups
- Suppress all warnings about messages received from a non-member
In UDP/TCP, the following properties are introduced:
- suppress_time_different_version_warnings
- suppress_time_different_cluster_warnings
In NAKACK / NAKACK2, the following properties are introduced:
- suppress_time_non_member_warnings
All times are milliseconds. 0 or a log level higher than WARN disables these.
Example:
- suppress_time_different_version_warnings=60000
When we have our cluster of
{A,B,C}and 2 members X and Y which are running a different version, then we'll get 1 warning per member every 10 seconds minimum. So if X and Y are sending messages then we do get warnings at A, B and C at the follwing times (ms, assuming X and Y both send a message):
- 0: 1 WARN for X, 1 WARN for Y
- 1000: <none>
- 4000: <none>
- 9000: <none>
- 10500: 1 WARN for X, 1 WARN for Y
- 12000: <none>
- 18000: <none>
- 21000: 1 WARN for X, 1 WARN for Y
- 50000: 1 WARN for X, 1 WARN for Y
and so on - 1000:
- is related to
-
JGRP-1475 Convert project to use i18n logging and exceptions
- Resolved