You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Volkan Yazici (Jira)" <ji...@apache.org> on 2021/06/17 09:38:00 UTC
[jira] [Commented] (LOG4J2-3107) SmtpManager.createManagerName
ignores port
[ https://issues.apache.org/jira/browse/LOG4J2-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17364808#comment-17364808 ]
Volkan Yazici commented on LOG4J2-3107:
---------------------------------------
[~spannjp], thanks for the report! Would you consider submitting a GitHub PR? (Don't forget to mention this ticket ID in the title and update {{changes.xml}} in your change set.)
> 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
> Priority: Minor
>
> 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)