Event subscribers for Salesforce events a required to throw an exception to interrupt push / pull behaviors, which generate unnecessary and too many log messages.

Instead, event types should be more specific to events, so that the log doesn't fill up with garbage.

For example, PUSH_ALLOWED could use an event like SalesforcePushAllowedEvent, and subscribers could set an $allowed flag so that the caller could check method isAllowed().

Additionally, logger module should have a setting by which admins can choose the severity of messages to write to log: Errors only, Warnings + errors, or warnings + errors + notices. - committed e00003c

Comments

aaronbauman created an issue. See original summary.

aaronbauman’s picture

Issue summary: View changes

  • aaronbauman committed e00003c on 8.x-3.x
    Issue #2914458 - Add log-level setting for salesforce_logger module
    
aaronbauman’s picture

Issue summary: View changes

  • aaronbauman committed 23c2569 on 8.x-3.x
    =================
    API CHANGE NOTICE
    =================
    Issue #2914458 -...
aaronbauman’s picture

Status: Active » Fixed

calling this fixed on 23c2569

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.