forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logging: cleanup errdict usage (istio#46011)
For istio#44683 Partially reverts istio/pkg#192 We current have an `errdict` mechanism, which is basically just a struct of k/v pairs to insert into logs. We made this builtin to our logging system. This adds a lot of complexity, and I don't think its needed. Instead, just add a helper to the errdict to make it add labels to the logger we want, and strip out all of the first-class support in `pkg/log`. This change moves us closer to being able to just swap `slog` in
- Loading branch information
1 parent
d07f753
commit 75671b8
Showing
13 changed files
with
144 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.