Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1701

Improved Multipoint and Multicast discovery logging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.4, 4.0-beta-1
    • 3.1.5, 4.0.0-beta-2
    • server
    • 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}

      Attachments

        Activity

          People

            dblevins David Blevins
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: