Skip to content

Ensure every correlation ID is properly logged #1000

@Avery-Dunn

Description

@Avery-Dunn

Correlation ID's are created on a per-request basis in RequestContext, and optionally set at the application level as an alternative. Every request gets a correlation ID, and they are critical to connect client-side logs to server-side logs.

Logging these correlation IDs has been mostly unchanged since the first version of MSAL Java, however customer issues have shown that there a gaps where correlation IDs are not properly logged in all failure cases.

We should audit how correlation IDs are logged, and ensure:

  • Every correlation ID that gets made is logged at some point
  • Correlation IDs are included in exceptions

Metadata

Metadata

Labels

P2Normal priority items, should be done after P1SDK-ConsistencyItems that deal with consistency between all MSALsSupportabilityFor issues related to improving the customer support experienceconfidential-clientFor issues related to confidential client appspublic-clientFor questions/issues related to public client apps

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions