thinktecture-ident-serveridentityserver3

How do I enable logging in Thinktecture IdentityServer v3?


How do I enable logging in Thinktecture IdentityServer v3?

I'm currently getting a generic error page, saying "There was an unexpected error".

I was able to figure out that the generic error gets returned by the ErrorPageFilterAttribute that appears to resolve some implementation of ILog for logging the details that I'm after.

I suspect it is some concrete implementation of ILog that needs to be configured somehow.


Solution

  • or simply read the documentation:

    https://identityserver.github.io/Documentation/docsv2/configuration/logging.html