Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3107

SmtpManager.createManagerName ignores port

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.14.1
    • Fix Version/s: 3.0.0, 2.15.0
    • Component/s: Appenders
    • Labels:
      None

      Description

      This method creates a hash from mail/smtp configuration so that only one instance of SmtpManager is ever created per configuration.

      The implementation includes the String "port" for the purpose of building the hash, when it should instead use the numeric port as in String.valueOf(port).

      That's all folks.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              spannjp Markus Spann
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: