Disable `Microsoft.Extensions.Logging` logging on a DbContext instance
Open
area-logging
customer-reported
needs-design
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 3.4k
- PR merge metrics
- PR metrics pending
Description
Having queries and execution times in log is awesome feature, but for some queries it's not that useful and can generate a lot of noise.
For example when inserting or updating tons of records, log output is not really useful.
It would be nice if we could disable log on a context instance. For example context.DisableLogging() or something like that.
Contributor guide
Assessment
This issue has not been assessed yet.