Hi John,
You can use logging module form market place to collect the logs
https://marketplace.mendix.com/link/component/159