You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Secondary question: Can we have a way to turn off those messages? I still want to leave the log level for Information because I need to watch for throttling messages and other things, but my logs are flooded with these access token entries. Maybe some sort of property on the PnpCoreAuthenticationOptions?
The text was updated successfully, but these errors were encountered:
@randellhodges : the ordering is seems to be something with Serilog. When we bump serilog versions this might get fixed, but don't see this a breaking thing.
Regarding the default log level for the "access token" messages you've a point. I changed those to default to debug level.
Category
Describe the bug
The access token log entry looks like it isn't formatted correctly.
Text:
JSON:
It seems like 0 and 2 are backwards (maybe this is a Serilog problem?) and the scope needs the leading ", " trimmed.
Code in question:
pnpcore/src/sdk/PnP.Core.Auth/Confidential/X509CertificateAuthenticationProvider.cs
Lines 193 to 195 in e2e579f
Steps to reproduce
Environment details (development & target environment)
Additional context
Secondary question: Can we have a way to turn off those messages? I still want to leave the log level for Information because I need to watch for throttling messages and other things, but my logs are flooded with these access token entries. Maybe some sort of property on the PnpCoreAuthenticationOptions?
The text was updated successfully, but these errors were encountered: