Skip to content

LoggerScenarioRule__mdt

Used to configure rules in Nebula Logger to provide scenario-specific customizations

Attribute Value
Object Type Custom Metadata Type
Label Logger Scenario Rule
Plural Label Logger Scenario Rules
Fields 19

Fields (19 of 19)

Search
Attribute Value
Label End Time
Type DateTime
Required No
Field Manageability DeveloperControlled

When enabled, any logs generated will not have any user-specific details set - any fields related to the User, Profile, etc. will be null. Note: this feature only works properly when using the save method EVENT_BUS.

Attribute Value
Label Enable Anonymous Mode
Type Picklist
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

Picklist Values

API Value Label Default
true true No
false false No

Restricted

When enabled, Nebula Logger will automatically call Apex’s System.debug(). To help with performance, this option should be disabled in production unless you are actively troubleshooting an issue.

Attribute Value
Label Enable Apex System.debug()
Type Picklist
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

Picklist Values

API Value Label Default
true true No
false false No

Restricted

When enabled, any data-mask rules (configured in LogEntryDataMaskRule__mdt) will be automatically applied to log entry messages.

Attribute Value
Label Enable Data Masking
Type Picklist
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

Picklist Values

API Value Label Default
true true No
false false No

Restricted

Attribute Value
Label Is Enabled
Type Checkbox
Required No
Default Value true
Compliance Group None
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

When enabled, Nebula Logger will automatically call the browser’s console.log() function when logging via lightning components. To help with performance, this option should be disabled in production unless you are actively troubleshooting an issue.

Attribute Value
Label Enable JavaScript console.log()
Type Picklist
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

Picklist Values

API Value Label Default
true true No
false false No

Restricted

When enabled, Nebula Logger will automatically call Salesforce’s lightning-logger LWC when logging via lightning components. This then creates a ‘Lightning Logger’ event in Event Monitoring.

Attribute Value
Label Enable JavaScript lightning-logger
Type Picklist
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

Picklist Values

API Value Label Default
true true No
false false No

Restricted

Controls if new Logc records associated with the scenario (based on Logc.TransactionScenarioc) are automatically assigned to the owner of the LoggerScenarioc record.

Attribute Value
Label Assign Logs To Logger Scenario Owner
Type Picklist
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

Picklist Values

API Value Label Default
true true No
false false No

Restricted

Attribute Value
Label Is Logger Enabled
Type Picklist
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

Picklist Values

API Value Label Default
true true No
false false No

Restricted

When enabled, the value specified in NumberOfDaysToRetainLogsc (including null) will override the value specified in LoggerSettingsc.

Attribute Value
Label Enable Log Retention Override
Type Picklist
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

Picklist Values

API Value Label Default
true true No
false false No

Restricted

Attribute Value
Label Enable Platform Event Storage Override
Type Picklist
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

Picklist Values

API Value Label Default
true true No
false false No

Restricted

When enabled, any time an SObject record is logged, only fields that the current user can access will be included in the record’s JSON.

Attribute Value
Label Strip Inaccessible Record Fields
Type Picklist
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

Picklist Values

API Value Label Default
true true No
false false No

Restricted

Controls if saving is enabled - when disabled, any calls to saveLog() are ignored.

Attribute Value
Label Enable Saving
Type Picklist
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

Picklist Values

API Value Label Default
true true No
false false No

Restricted

This value is used to set the field Logc.LogRetentionDatec, which is then used by LogBatchPurger to delete old logs. To keep logs indefinitely, set this field to a blank value (null).

Attribute Value
Label Days to Retain Logs
Type Number
Precision / Scale 4 / 0
Required No
Compliance Group None
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

This controls the default location where LogEntryEvente records are stored - when null, LogEntryEvente records will not be stored.

Attribute Value
Label Platform Event Storage Location
Type Text
Length 255
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

This controls the default save method used by Logger when calling saveLog(). In most situations, EVENT_BUS should be used.

Attribute Value
Label Save Method
Type Text
Length 255
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled
Attribute Value
Label Scenario
Type Text
Length 255
Required Yes
Unique Yes
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled
Attribute Value
Label Start Time
Type DateTime
Required No
Field Manageability DeveloperControlled

Overrides the user’s logging level (normally controlled via LoggerSettingsc.LoggingLevelc) for any transactions with the specified Scenario

Attribute Value
Label User Logging Level
Type Picklist
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Field Manageability DeveloperControlled

Picklist Values

API Value Label Default
ERROR ERROR No
WARN WARN No
INFO INFO No
DEBUG DEBUG No
FINE FINE No
FINER FINER No
FINEST FINEST No

Restricted