Newer Version Available
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.
- From Setup, enter Debug Logs in the Quick Find box, then click Debug Logs.
- Click New.
- For Traced Entity Type, select Automated Process.
- Select the time period to collect logs and the debug level.
- Click Save.
To collect logs for the user who publishes the events, add another trace flag entry for that user.