You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Markus Spann (Jira)" <ji...@apache.org> on 2021/06/17 09:21:00 UTC

[jira] [Created] (LOG4J2-3107) SmtpManager.createManagerName ignores port

Markus Spann created LOG4J2-3107:
------------------------------------

             Summary: SmtpManager.createManagerName ignores port
                 Key: LOG4J2-3107
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3107
             Project: Log4j 2
          Issue Type: Bug
          Components: Appenders
    Affects Versions: 2.14.1
            Reporter: Markus Spann


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)