Hi Shaibayan,
First of all you should identify what kind of messages are not being persisted, the sync ones?, check this link Persisting Audit Logs for Synchronous Messages - Advanced Adapter Engine - SAP Library.
About one particular scenario?, check the ICO object persisting configuration.
Regards.