Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-15362

Add dynamic mail.debug support to JIRA

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

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

      Currently to perform low level mail debugging you have to set mail.debug=true on the command line and restart JIRA.

      We should be able to toggle a switch in the logging section of JIRA and have it turn on dynamically.

      Ideally one should only have to set System.getProperties().setProperty*"mail.debug","true") however there is a block on this

      In order to get this to work, atlassian-mail needs some surgery as decsribed here:

      http://jira.atlassian.com/browse/MAIL-38

      Also in the IMAP/POP fetcher we dont use the same mechanism but instead rely on javax.mail.Session.getDefaultInstance() which is a static. We need to call setDebug() on this object before using it.

      After that we should be able to get dynamic mail debugging in place without a restart.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bbaker ɹǝʞɐq pɐɹq
              Votes:
              3 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified