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

Praposal for logging support for msal-go #535

Open
wants to merge 33 commits into
base: andyohart/managed-identity
Choose a base branch
from

Conversation

4gust
Copy link
Collaborator

@4gust 4gust commented Nov 19, 2024

Praposal for logging support for msal-go

Copy link
Member

@bgavrilMS bgavrilMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed that we don't need the callback option for 1.18 for now.

@4gust 4gust changed the title Added MD file Praposal for logging support for msal-go Nov 25, 2024
….18, and just focusing on the logger working on 1.21 and above

* adds tests

* refactors logger documentation

* adds sample logger app
Copy link
Member

@bgavrilMS bgavrilMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if this works. Not signing off as there is some work to be done.

Copy link
Collaborator

@chlowell chlowell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you adding tests for confidential.Client as well i.e., testing that confidential.New(WithLogger(...)) constructs a Client that writes logs?

Is the same API coming for public.Client in another PR?

Copy link
Collaborator

@AndyOHart AndyOHart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR was created by Nilesh but it also seems good to me from working on it

@AndyOHart AndyOHart changed the base branch from main to andyohart/managed-identity January 17, 2025 13:17
@chlowell
Copy link
Collaborator

How will we handle logging PII? Another argument to WithLogger, or could we use slog to mark a message or part of a message as PII and leave handling that up to the application?

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.

4 participants