Skip to content

Instantly share code, notes, and snippets.


Jorrit Schippers jorrit

View GitHub Profile
jorrit / IdentityModel logging.cs
Last active Jan 15, 2020
Enable .net identity model logging
View IdentityModel logging.cs
IdentityModelEventSource.Logger.LogLevel = EventLevel.Verbose;
IdentityModelEventSource.ShowPII = true;
var listener = new TextWriterEventListener(new StreamWriter(Console.OpenStandardOutput())
AutoFlush = true,
listener.EnableEvents(IdentityModelEventSource.Logger, EventLevel.LogAlways);
You can’t perform that action at this time.