Skip to content
Livestream: Why now's a good time to upgrade to Duende IdentityServer and .NET 10. Register Now!

Logging

Duende Access Token Management uses the standard logging facilities provided by ASP.NET Core. You generally do not need to perform any extra configuration, as it will use the logging provider you have already configured for your application.

For general information on how to configure logging, setting up Serilog, and understanding log levels in Duende products, see our Logging Fundamentals guide.

The Microsoft documentation has a good introduction and description of the built-in logging providers.

You can control the log output for Duende Access Token Management specifically by configuring the Duende.AccessTokenManagement namespace in your logging configuration. For example, to enable debug logging for Access Token Management while keeping other logs at a higher level, you can modify your appsettings.json:

appsettings.json
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Duende.AccessTokenManagement": "Debug"
}
}
}