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

Increase connection logging when Primary node connection fails

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.2.5, 1.7.4
    • 2.2.6, 1.8.0
    • Other
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.