Newer Version Available

This content describes an older version of this product. View Latest

Set Up Debug Logs for Event Subscriptions

Debug logs for platform event triggers, event processes, and resumed flow interviews are created by “Automated Process” and are separate from their corresponding Apex code logs. The debug logs aren’t available in the Developer Console’s Log tab. To collect logs for an event subscription, add a trace flag entry for the Automated Process entity in Setup.
  1. From Setup, enter Debug Logs in the Quick Find box, then click Debug Logs.
  2. Click New.
  3. For Traced Entity Type, select Automated Process.
  4. Select the time period to collect logs and the debug level.
  5. Click Save.

To collect logs for the user who publishes the events, add another trace flag entry for that user.