Legacy Knowledge Base
Published Jul. 2, 2025

How to quickly modify email log levels

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • The environment is facing issues related to email but there is not enough information in the logs about it.

Environment

  • DXP 7.0
  • DXP 7.1
  • DXP 7.2

Resolution

  • Temporarily increase the log level for packages related to email.
  • Go to the Control Panel / Configuration / Server Administration / Log Levels and search or add the following categories:
    • com.liferay.petra.mail,
    • com.liferay.mail.messaging,
    • com.liferay.mail.service.impl.MailServiceImpl
  • Modify the log level to an appropriate value between ALL and OFF and save.

Additional Information

  • The log levels changed via Server Administration will revert to their default values upon restart.
  • To keep the changes, modify the log4j module following Adjusting Module Logging.
Did this article resolve your issue ?

Legacy Knowledge Base