'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 1:[1]

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

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 aled