OpenEJB
  1. OpenEJB
  2. OPENEJB-1701

Improved Multipoint and Multicast discovery logging

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.4, 4.0-beta-1
    • Fix Version/s: 3.1.5, 4.0.0-beta-2
    • Component/s: server
    • Labels:
      None

      Description

      Setting the following logging category to "debug" will open up some new logging information.

      log4j.category.OpenEJB.server.discovery = debug

      Or more specifically as:

      log4j.category.OpenEJB.server.discovery.multipoint = debug
      log4j.category.OpenEJB.server.discovery.multicast = debug

      The nature of the debug output is to display all configuration information at startup:

      DEBUG - Using default 'heart_rate=500'
      DEBUG - Using default 'max_missed_heartbeats=10'
      DEBUG - Using default 'max_reconnect_delay=30000'
      DEBUG - Using default 'reconnect_delay=5000'
      DEBUG - Using default 'exponential_backoff=0'
      DEBUG - Using default 'max_reconnect_attempts=10'
      INFO - Created Tracker

      {group='default', groupPrefix='default:', heartRate=500, maxMissedHeartbeats=10, reconnectDelay=5000, maxReconnectDelay=30000, maxReconnectAttempts=10, exponentialBackoff=0, useExponentialBackOff=false, registeredServices=0, discoveredServices=0}

      As well as any events at runtime:

      DEBUG - Expired Service

      {uri=green://localhost:0, broadcastString='default:green://localhost:0'}

      Timeout

      {lastSeen=-5005, threshold=5000}

      DEBUG - Added Service

      {uri=green://localhost:0}

      DEBUG - Removed Service

      {uri=green://localhost:0}

        Activity

        David Blevins created issue -
        David Blevins committed 1182223 (10 files)
        Reviews: none

        svn merge -r 1182221:1182222 https://svn.apache.org/repos/asf/openejb/trunk/openejb

        http://svn.apache.org/viewvc?view=revision&revision=1182222
        ------------------------------------------------------------------------
        r1182222 | dblevins | 2011-10-11 23:32:01 -0700 (Tue, 11 Oct 2011) | 3 lines

        OPENEJB-1701: Improved Multipoint and Multicast discovery logging
        OPENEJB-1702: Multicast and Multipoint 'heart_rate' property ignored

        ------------------------------------------------------------------------

        David Blevins committed 1182225 (1 file)
        Reviews: none

        Documentation for OPENEJB-1701: Improved Multipoint and Multicast discovery logging

        Hide
        David Blevins added a comment -
        Show
        David Blevins added a comment - 2011-10-11 - http://svn.apache.org/viewvc?view=revision&revision=1182222 - dblevins
        David Blevins made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            David Blevins
            Reporter:
            David Blevins
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development