Skip to content

MSAL logging discrepancy #568

@pvaneck

Description

@pvaneck

For posterity, I wanted to open this issue since there has been discussion within our team regarding a recent feature request from the MSAL team where Azure Identity should allow extraction of all MSAL logs by enabling some PII boolean flag or increasing log verbosity: Azure/azure-sdk-for-python#29406.

As far as I know, other MSAL language SDKs support toggling PII logging through some flag, but this SDK does not. From previous discussion with @rayluo, it was chosen to not enable PII logging here since it was felt that the info wasn't useful for troubleshooting.

Would appreciate some clarification on the following:

  • Is this discrepancy is intentional/acceptable?
  • If PII was found to be useful from a customer support standpoint for other languages, could we enable similar functionality in MSAL for Python?
  • Currently, is all logging control within MSAL based on setting the log level (logging.basicConfig(level=logging.DEBUG))?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions