Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-15362

Add dynamic mail.debug support to JIRA

    XMLWordPrintable

Details

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? 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