Setting Up Error Logging for Commerce Cloud Endless Aisle

You can turn on logging to see information about app errors: on the client side or on the server side. Throughout the app, there are events captured through logging. Your organization’s app developers can disable logging of particular events by commenting out the logging code for those events. For more information see Debug the Endless Aisle App.
  1. To set up client side error logging:
    1. In Business Manager, select site > Merchant Tools > Site Preferences > Custom Preferences.
    2. Click Endless Aisle Logging.
    3. Specify the following:
      • Send Email to Endless Aisle Admin - whether to send email to Endless Aisle Admin when an error occurs in Endless Aisle app
      • Endless Aisle Admin Email Addresses - email addresses that receive admin emails from the Admin Dashboard or error emails if Send Email to Endless Aisle Admin is true
      • Log Endless Aisle App Errors to Server - whether to log Endless Aisle app errors to server log
      • OCAPI Error Reporting - whether to send email for errors that occur with OCAPI requests from Endless Aisle
        Note: The three types of error reporting can be overridden at the store level. If one store is encountering issues, you can disable error reporting globally and then turn on error reporting for that one store so that you only receive messages from that one store.
      • Storefront Error Reporting - whether to send email for errors that occur with storefront requests from Endless Aisle
      • JS Crash Reporting - whether to send email for JavaScript errors that occur in Endless Aisle
      • Exceptions to Ignore - exceptions that might happen from server requests (OCAPI or storefront) that shouldn't trigger an error email
    4. Click Save.
  2. To set up server side logging:
    1. In Business Manager, select Administration > Operations.
    2. Select Custom Log Settings.
    3. In Log Category, enter instore-audit-trail, select INFO, and click Add.
    4. Click Apply.
  3. The next step is Setting Up Product and Shipping Price Overrides in Endless Aisle.