Skip to content

FIX(core): @W-18539707@: Prevent logging rule override if it is the same value as default #295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2025

Conversation

stephen-carter-at-sf
Copy link
Collaborator

@stephen-carter-at-sf stephen-carter-at-sf commented May 16, 2025

While looking at this forcedotcom/code-analyzer#1795 I noticed the users log file was flooded with messages like:

[2025-05-09T17:48:57.128Z] Debug Core - The severity value of rule 'ApexNullPointerException' of engine 'sfge' was overridden according to the specified configuration. The old value '3' was replaced with the new value '3'.

But the old value is the same as the new value... so we shouldn't be logging this.

This PR fixes this.

@stephen-carter-at-sf stephen-carter-at-sf merged commit bfd804f into dev May 16, 2025
13 checks passed
@stephen-carter-at-sf stephen-carter-at-sf deleted the sc/W-18539707 branch May 16, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants