Skip to content

Masking Log Messages

Johannes Fischer edited this page Jan 1, 2021 · 4 revisions

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".

Adding a 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.

Clone this wiki locally