Skip to content

LoggerSettings__c

Used to configure hierarchial settings in Nebula Logger to provide user-specific & profile-specific customizations

Attribute Value
Object Type Hierarchy Custom Setting
Label Logger Settings
Fields 19

Fields (19 of 19)

Search

Specifies the default owner for new Log__c records. This can be a user ID, a username, a queue ID, or a queue’s developer name.

Attribute Value
Label Log Owner
Type Text
Length 255
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

Sets the value of Logc.LogPurgeActionc, which is used by the batch job LogBatchPurger to indicate the action that should be taken for a Logc record when LogRetentionDatec < TODAY.

Attribute Value
Label Log Purge Action
Type Text
Length 255
Required No
Default Value 'Delete'
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

Uses Apex managed sharing to grants users read or edit access to their log records (on insert only). When no access level is specified, no Apex sharing logic is executed. This only gives record-level access - users will still need to be granted access to the Log__c object using permission sets or profiles.

Attribute Value
Label Log Access Level
Type Text
Length 255
Required No
Default Value 'Read'
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

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 blank (null).

Attribute Value
Label Days to Retain Logs
Type Number
Precision / Scale 4 / 0
Required No
Default Value 14
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

Defaults to CUSTOM_OBJECTS. 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
Default Value 'CUSTOM_OBJECTS'
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

DefaultPlatformEventStorageLoggingLevel__c

Section titled “DefaultPlatformEventStorageLoggingLevel__c”

Optional - when set, Nebula Logger will only save LogEntryEvent__e records in custom objects if the entry’s logging level has the same or greater logging level

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

Defaults to EVENT_BUS. 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 Yes
Default Value 'EVENT_BUS'
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

Sets a default scenario for the transaction

Attribute Value
Label Scenario
Type Text
Length 255
Required No
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

Optional - when set, the LoggerSettingsc record is only used when EndTimec >= System.now()

Attribute Value
Label End Time
Type DateTime
Required No

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 Checkbox
Required No
Default Value false
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

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 Checkbox
Required No
Default Value true
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

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 Checkbox
Required No
Default Value true
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

Controls if Logger is enabled for the specified level (organization, profile, or user)

Attribute Value
Label Enabled
Type Checkbox
Required No
Default Value true
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

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 Checkbox
Required No
Default Value true
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

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 Checkbox
Required No
Default Value false
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

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 Checkbox
Required No
Default Value false
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

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

Attribute Value
Label Enable Saving
Type Checkbox
Required No
Default Value true
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active
Attribute Value
Label Logging Level
Type Text
Length 255
Required Yes
Default Value 'FINEST'
Compliance Group PII;GDPR;CCPA
Security Classification Confidential
Business Status Active

Optional - when set, the LoggerSettingsc record is only used when StartTimec <= System.now()

Attribute Value
Label Start Time
Type DateTime
Required No