Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-6471

Improve logged diagnostics for replication service discovery message

    Details

    • Type: Bug
    • Status: Dev backlog
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0
    • Fix Version/s: None
    • Component/s: logging, proxy
    • Labels:
      None

      Description

      The proxy logs the following message:

      [22/Jul/2019:12:21:57 +0200] category=CORE severity=WARNING msgID=766 msg=Settings for Replica 'dn: cn=localhost:14444,cn=Servers,cn=admin data
      hostname: localhost
      ldapEnabled: true
      ldapport: 11389
      ldapsEnabled: true
      ldapsport: 11636
      startTLSEnabled: false
      
      ' do not allow connections for replication server group 'Replication Service Discovery Mechanism'
      

      This message presents three problems that all need to be fixed:

      • The warning message is not precise enough when describing the current problem. The admin is left wondetring how to fix this.
      • It should not be doing multiline logging
      • At the end of the message, 'Replication Service Discovery Mechanism' really is the name of the replication service discovery mechanism, but the message falsely leads us to believe this is the name of the replication server group.

      This warning message is logged by ReplicationServiceDiscoveryMechanism.buildReplica().

      Acceptance criteria

      This issue can be closed once all 3 problems listed above have been resolved.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              JnRouvignac Jean-Noël Rouvignac
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: