Uploaded image for project: 'Openfire'
  1. OF-2

LocalOutgoingServerSession logs connection failures over verbosely

    Details

    • Type: Bug
    • Status: Resolved (View workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects versions: 3.8.0
    • Fix versions: 3.9.3
    • Components: None
    • Labels:
      None

      Description

      When LocalOutgoingServerSession.createOutgoingSession encounters an error in connecting it logs a verbose error to the logs including a stack trace to the exception site. Seeing most of these error types are expected (such as host not found) and the stack trace is not especially useful in solving these problems this is needlessly verbose and makes it harder for a server operator to find real problems. This is componeded by openfire then traversing the domain to try connect.

      Suggestion: expected errors like HostNotFound and Connection timeout errors should just log the information, other exceptions should continue to log the full error.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Tom Evans
                Reporter:
                David Horwitz
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: