-
-
Notifications
You must be signed in to change notification settings - Fork 232
Support managing logger scenario rules via a custom object or setting #940
Copy link
Copy link
Open
Labels
Feature: Data MaskingFeature: Log RetentionItems related to LogBatchPurger or LogBatchPurgeSchedulerItems related to LogBatchPurger or LogBatchPurgeSchedulerFeature: Scenario-Based LoggingItems related to Logger.setScenario(), LoggerScenarioRule__mdt, etc.Items related to Logger.setScenario(), LoggerScenarioRule__mdt, etc.Layer: ConfigurationItems related to the custom hierarchy setting LoggerSettings__c or any included custom metadata typeItems related to the custom hierarchy setting LoggerSettings__c or any included custom metadata typeLayer: Log ManagementItems related to the custom objects & Logger Console appItems related to the custom objects & Logger Console appLayer: Logger EngineItems related to the core logging engineItems related to the core logging engineSalesforce Feature: Platform CacheItems related to how platform cache is leveraged by Nebula LoggerItems related to how platform cache is leveraged by Nebula LoggerSalesforce Feature: SecurityItems related to the security model (object-level access, field-level security, record sharing)Items related to the security model (object-level access, field-level security, record sharing)Type: EnhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
Feature: Data MaskingFeature: Log RetentionItems related to LogBatchPurger or LogBatchPurgeSchedulerItems related to LogBatchPurger or LogBatchPurgeSchedulerFeature: Scenario-Based LoggingItems related to Logger.setScenario(), LoggerScenarioRule__mdt, etc.Items related to Logger.setScenario(), LoggerScenarioRule__mdt, etc.Layer: ConfigurationItems related to the custom hierarchy setting LoggerSettings__c or any included custom metadata typeItems related to the custom hierarchy setting LoggerSettings__c or any included custom metadata typeLayer: Log ManagementItems related to the custom objects & Logger Console appItems related to the custom objects & Logger Console appLayer: Logger EngineItems related to the core logging engineItems related to the core logging engineSalesforce Feature: Platform CacheItems related to how platform cache is leveraged by Nebula LoggerItems related to how platform cache is leveraged by Nebula LoggerSalesforce Feature: SecurityItems related to the security model (object-level access, field-level security, record sharing)Items related to the security model (object-level access, field-level security, record sharing)Type: EnhancementNew feature or requestNew feature or request
Currently, logger scenarios can be used both for tracking, but also to control Nebula Logger's behavior (e.g., for certain scenarios, increase the logging level, etc.). This can give a lot of control in complex orgs/teams where only certain parts of the codebase may want to have increased logging (or other settings overrides).
However, this is all managed through the custom metadata type
LoggerScenarioRule__mdt- this makes it very easy to add the rules to source control & deployments, but limits teams who aren't actual admins in an org (and thus, don't have access to modify custom metadata records). In these situations, teams have to either coordinate with an actual admin in the org, or run a full deployment, just to change a scenario rule.Either in addition to, or instead of (?), the existing
LoggerScenarioRule__mdt, there should also be a custom object (or maaaybe a custom setting) that users with theLoggerAdminpermission set can manage.