Closed JiriZidek closed 2 years ago
Am I missing something ? Is tehre any plan to use the microsoftish way of configuring levels ?
Message filtering rules are applied inside logging infrastructure (Microsoft.Extensions.Logging) and works for all logging providers in a same way.
However, you can specify min log level exactly for FileLoggingProvider (say, write to a file only "Warning" and "Error" entries).
So using "MinLevel": "Warning" is in fact very same like setting: { "File": { "LogLevel": { "Default": "Warning" }, ..... } OK, clear now.
It looks like appsettings.json parameter
"MinLevel": "Warning", // min level for the file logger
replaces normalAm I missing something ? Is tehre any plan to use the microsoftish way of configuring levels ? Thanks for clarification. Jiri