Step 13: Configure the Salesforce B2B Commerce App Logs
Learn how to configure the Salesforce B2B Commerce App logs.
Last updated
Learn how to configure the Salesforce B2B Commerce App logs.
Last updated
All the Salesforce B2B Commerce App application logs are logged to a custom object called DCM Application Logs “digitalriverv2__DCM_Application_Log__c”. The default logging level is always set to ERROR, that is, to log only errors.
To configure the default logging level for the app:
Open the digitalriverv2__DCM_Application_Log_Configuration__mdt.
Click Manage DCM Application Log Configurations.
Click the Default App Log Config.
Configure the default logging level for the app logging in the Logging Level field. Note: There is another Log Level field that is deprecated and should no longer be used.
Add all the users, including the storefront user, to the DRB2B Permission Set so they can log to the DCM Application Log object. The DCM Application Log Cleanup job uses the Delete Logs Older Than field to clean up old logs.