Enable mail debugging mode in Confluence Data Center and Server
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
目的
To detail clearly how to enable debug mode for both the incoming and outgoing emails in Confluence.
ソリューション
This feature is only available on Confluence Server or Data Center 7.20 or later.
You need System Administrator global permissions to do this.
Change the logging level of the com.atlassian.confluence.mail.session
package
- Go to General Configuration > > Logging and Profiling.
- Confluence をクラスタで実行する場合は、クラスタ ノードを選択します。
- Locate the
com.atlassian.confluence.mail.session
package, and select DEBUG value from the New Level menu. - Save your changes.
Remember, your changes will not be written to the log4j.properties
file and will be discarded when you next stop Confluence.
To enable email logging at the protocol level (more verbose), add -Dmail.debug=true
to the Confluence System Properties.
For more information on the subject, refer to Configuring Logging on Confluence Server and Data Center.
Keep in mind that the primary goal of debug logging is troubleshooting. It is good practice to disable the debug logging after the problem is solved to avoid potential performance impacts and logs with too many entries.