Debug and monitor events
You can use the Logging service to debug and monitor events.
You don’t need to do any additional instrumentation for Cloud Code as everything is handled out of the box. Add logging to your Cloud Code modules and scripts to debug and monitor the execution of your triggers.
The Triggers service emits the following logs by default:
Log | Condition |
---|---|
triggering action for event | Emits when trigger is activated. |
successful response from trigger action | Emits when trigger is successfully executed. |
error response from trigger action | Emits when trigger execution fails. |
error in event filter | Emits when there is no payload attribute defined in the filter. |
Refer to Logging for more information and use case samples.