Audit entries stopped being shown or generated
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
- We have recently upgraded to a new Update version, and we noticed that the Audit tool is not working or not displaying the most up to date information, showing last updates as 'x days ago', around the time when we deployed the the new version
Resolution
-
Under System Settings -> Audit there is a setting, "Persistent Message Audit Message Processor", which by default used to be enabled (telling the server to write, to persist the audit events into the database).
However, https://issues.liferay.com/browse/LPS-176031, which was introduced from U66, changed this setting to be disabled by default. Which means that most probably this setting is now disabled in your environment, if you upgraded to a post-U66 version. (causing the audit events to not be persisted to the database anymore)
Therefore the solution is to enable this setting again, explicitly, and the audit events will resume to be persisted to the database.
Did this article resolve your issue ?