Legacy Knowledge Base
Published Jul. 2, 2025

Configuring Log4j Logging for the Audit Portlet in DXP 7.0

Written By

Brian Larson

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.

This article demonstrates how to create a separate audit.YYYY-MM-DD.log file within ${liferay.home}/log for audit INFO messages. It should roll over every day with this configuration.

Resolution

  1. Once the DXP 7.0 instance has started, navigate to the Control Panel → Configuration → System Settings .
  2. Search for Audit.
  3. Click on Audit. Check the Enabled checkbox then click Save. (On subsequent changes, the button will be Update.)
  4. Click on the back arrow.
  5. While the search results still show Audit, click on Persistent Message Audit Message Processor. Check the Enabled checkbox then click Save.
  6. Click on the back arrow.
  7. While the search results still show Audit, click on Logging Message Audit Message Processor.

Once this functionality is enabled, administrators can view the information in the console or downloadable CSVs or JSONs.

Did this article resolve your issue ?

Legacy Knowledge Base