INFO Logging Level for Outgoing Mail Logs

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: None
    • 0
    • 5

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      User needs to log emails sent from JIRA ( notifications ) for auditing and troubleshooting but with normal logging turned on on the atlassian-jira-outgoing-mail.log

      It is currently possible to show the outgoing mail logs with DEBUG turned on but this generates huge amounts of data as per :

      2015-06-26 14:55:04,125 DEBUG [] Sending mailitem To='xxxxx@xxxxx.com' Subject='(TN-27) asd' From='null' FromName='Adrian Stephen [Atlassian] (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@18b8b2c0' MessageId='null' anonymous    Mail Queue Service Message was sent with Message-Id <JIRA.10600.1435246326000.4.1435301700067@Atlassian.JIRA>
      

      It would be great if there is an option to have INFO level logging for notification that could log something as below :

      2015-06-26 14:55:04,125 INFO [] Sending mailitem To='xxxxx@xxxxx.com' 
      

      Currently, the the com.atlassian.jira.mail.settings.MailSetting to INFO but there is no INFO level logging that can be found on the logs when an email is successfully sent.

            Assignee:
            Unassigned
            Reporter:
            Adrian Stephen (Inactive)
            Votes:
            19 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated: