Check out the appstore: https://appstore.home.mendix.com/link/app/159/CAPE-Groep-B.V./Logging-Module
You can then do anything you want with it.
Regards,
Ronald