Closed (fixed)
Project:
Salesforce Suite
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2017 at 16:24 UTC
Updated:
23 Oct 2017 at 16:45 UTC
Jump to comment: Most recent
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
Comment #2
aaronbaumanComment #4
aaronbaumanComment #6
aaronbaumancalling this fixed on 23c2569