When trying to use the official YubiKey .NET SDK nuget package for a personal CA management project, I noticed a horrendous amount of debug logging being spat out to my console:
Though it’s not obvious (at least to me!) or documented anywhere, I came across this pull request.
Reading his PR, I added an appsettings.json
to my console app, with only the following contents:
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Yubico": "Error"
}
}
}
Which did reduce it: