Search code examples
mulemulesoftmule4

Mule4 error handler - Enable Notifications and Log Exception


This is more a generic question about the usage of this feature , so please excuse the absence of code.

<on-error-continue enableNotifications="true" logException="true" doc:name="OnErrorContinue" />

Was reading link here but could not find any meaningful details about :

enableNotifications="true" logException="true"

what is the significance of these attributes ? when should they be enabled and similarly when should we NOT enable them ?

as far as I can see disabling them prevents exceptions to show up in the logs Thanks


Solution

  • Enable notifications is to send an internal Mule notification, unrelated to logging.

    Only the logException attribute activates sending the exception in the log.