Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1518

Logging: suppress identical warnings for a configurable time

    XMLWordPrintable

Details

    • Feature Request
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 3.2
    • None

    Description

      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:

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: