Newer Version Available
Configure Logs in the Checkout Management App
The Checkout Management App (CMA) creates debug logs to help you troubleshoot issues. By
default, all logs are saved, but you can configure the CMA to delete logs that you no longer
need. Delete logs regularly to stay within the data storage limits for your Salesforce edition.
| User Permissions Needed | |
|---|---|
| To manage, create, edit, and delete custom settings: | Customize Application |
| To save changes to Apex classes and triggers: | Author Apex |
- Log in to the org where the CMA is installed.
-
Configure how long to save CMA logs.
- From Setup, enter Custom Settings in the Quick Find box, and then click Custom Settings.
- For CMALogSettings, click Manage.
- Click New.
- Enter a name. For example, CMA Log Settings.
- For CMALogLifeSpan, enter how many days to save logs. For example, enter 30 to save all logs created in the past 30 days.
-
Schedule an Apex job to delete old CMA logs.
- From Setup, enter Apex Classes in the Quick Find box, and then click Apex Classes.
- Click Schedule Apex.
-
Configure the job as follows.
Field Value Job Name CMA Log Cleanup Apex Class ScheduledDeleteCMALogs Namespace prefix: sfcma
Frequency Specify a weekly or monthly interval—we recommend running the job at least one time per week Start Date Today’s date End Date A future date—we recommend specifying a date that’s at least several years in the future Preferred Start Time Any value—we recommend choosing a time when your org is not under a heavy load - Click Save.