Skip to content
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

[release/8.0] Simplify redaction logic a bit. #4327

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 21, 2023

Backport of #4317 to release/8.0

/cc @joperezr @geeknoid

Customer Impact

Testing

Risk

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Microsoft Reviewers: Open in CodeFlow

- In LoggerMessageState, the redacted tag array is now grown in
concert with the classified tag array. This makes it so if the new
generated code is called using a legacy logger, the generated formatting
function will never hit an "array out of bounds" exception.

- Remove some useless exception handling logic in the extended logger.
This was a holdover from when the redaction logic was more complicated.
@geeknoid geeknoid enabled auto-merge (squash) August 21, 2023 23:57
@geeknoid geeknoid merged commit 30dc2c0 into release/8.0 Aug 21, 2023
6 checks passed
@geeknoid geeknoid deleted the backport/pr-4317-to-release/8.0 branch August 21, 2023 23:59
@RussKie RussKie added this to the 8.0 RC2 milestone Aug 28, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants