legacy-knowledge-base
公開されました Jul. 2, 2025

メールログのレベルを素早く変更する方法

written-by

Rodrigo Mier

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • 環境はメールに関する問題を抱えていますが、それに関するログの情報は十分ではありません。

環境

  • DXP 7.0
  • DXP 7.1
  • DXP 7.2

解決

  • メールに関連するパッケージのログレベルを一時的に上げます。
  • コントロールパネル / 設定 / サーバー管理 / ログレベル に移動し、以下のカテゴリを検索または追加します。
    • com.liferay.petra.mail,
    • com.liferay.mail.messaging,
    • com.liferay.mail.service.impl.MailServiceImpl.
  • ログレベルを ALLOFF の間の適切な値に変更して保存します。

追加情報

  • サーバー管理で変更されたログ レベルは、再起動時にデフォルト値に戻ります。
  • 変更を維持するには、 Adjusting Module Loggingに従って log4j モジュールを変更します。
    • また、Implementing Loggingに従って独自のロギングを追加することもできます。
did-this-article-resolve-your-issue

legacy-knowledge-base