How to make audit save records to the db

We have run into a problem with our SuiteCRM instance’s audit capabilities. Audit logs are still not being saved in the database even after turning on audit from the Studio and adding the ‘audit’ => true value to the vardefs.php file for the appropriate module. The change log modal stays empty as a result.

Some docs:


Hello Edgar,

and probably interesting to ponder:
When did it start and what did you do to the system?
Is it on all modules or just some? All fields or just some?
Do you have custom code in your installation?

Hi Bastian,

We started implementing it on Friday and it did not work right away, we tried it on a couple of fields, and we do have custom code just for validations

Depending on how you work with the CRM, you don’t ever have to see / touch any of the PHP files.

My questions were meant as some ideas on how to debug the issue.
For something like this, a standard functionality that suddenly stops working, is mostly related to a special local issue.
So far, I’ve not been able to replicate it, so it’s hard to say anything specific.

How about the module / fields? Custom module? Which field(s)? Which field type?