Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-623

Increase connection logging when Primary node connection fails

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.5, 1.7.4
    • Fix Version/s: 2.2.6, 1.8.0
    • Component/s: Other
    • Labels:
      None

      Description

      In order to provide more information to link a connection from an application to a database connection (for example via TCP dump), add local_port as part of the log.
      In addition, add connection timeout to provide more information .

      Before

      SQL Primary node [{}, conn={}] connection fail. Reason : {}
      

      After

      SQL Primary node [{}, conn={}, local_port={}, timeout={}] connection fail. Reason : {}
      

      Pull request: https://github.com/MariaDB/mariadb-connector-j/pull/127

        Attachments

          Activity

            People

            • Assignee:
              diego dupin Diego Dupin
              Reporter:
              fgaule Federico Gaule
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: