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

Azure.Identity logging level should control the underlying log level of MSAL.NET #44613

Closed
christothes opened this issue Jun 17, 2024 · 0 comments · Fixed by #44631
Closed

Azure.Identity logging level should control the underlying log level of MSAL.NET #44613

christothes opened this issue Jun 17, 2024 · 0 comments · Fixed by #44631
Assignees
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library.

Comments

@christothes
Copy link
Member

Currently, MSAL logging is enabled with the default arguments via the .WithLogging APIs

.WithLogging(LogMsal, enablePiiLogging: IsSupportLoggingEnabled);

.WithLogging(LogMsal, enablePiiLogging: IsSupportLoggingEnabled);

This default configuration always results in an MSAL log level of Informational. However, there are some troubleshooting scenarios in which Verbose level logging is desirable.

MSAL logging should be dynamically configurable via the current enabled logging level used by the Identity EventSource. To do this, we must implement the IIdentityLogger interface and pass that to the .WithLogging api.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library.
Projects
2 participants