We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It looks like appsettings.json parameter "MinLevel": "Warning", // min level for the file logger replaces normal
"MinLevel": "Warning", // min level for the file logger
"LogLevel": { "Default": "Information", "System": "Warning", "Microsoft": "Warning" }
Am I missing something ? Is tehre any plan to use the microsoftish way of configuring levels ? Thanks for clarification. Jiri
The text was updated successfully, but these errors were encountered:
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).
Sorry, something went wrong.
So using "MinLevel": "Warning" is in fact very same like setting: { "File": { "LogLevel": { "Default": "Warning" }, ..... } OK, clear now.
No branches or pull requests
It looks like appsettings.json parameter
"MinLevel": "Warning", // min level for the file logger
replaces normal
Am I missing something ? Is tehre any plan to use the microsoftish way of configuring levels ?
Thanks for clarification. Jiri
The text was updated successfully, but these errors were encountered: