-
Notifications
You must be signed in to change notification settings - Fork 28
Masking Log Messages
RFLIB provides the ability to mask information in the Log Event Messages field to prevent sensitive information from being published. This feature must be activated in the Logger Settings to take effect.
If activated, all log messages will be pre-processed before they are added to the event based on the rules that are configured in a Custom Metadata Type (CMT) record for the CMT called "Masking Rule".
It is important to define the correct order for the rules as a rule executed later in the chain may override replacements done by a previous rule. Also note that all log statements posted to the Apex Debug Logs and Browser Console will still contain the sensitive information in plain text. It is therefore recommended to keep those log settings set to NONE
if masking is activated.