]
Bela Ban updated JGRP-1518:
---------------------------
Fix Version/s: 3.2
Logging: suppress identical warnings for a configurable time
------------------------------------------------------------
Key: JGRP-1518
URL:
https://issues.jboss.org/browse/JGRP-1518
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.2
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
- 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:
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: