update to 2.0,and show ef core sql default, but i just want to watch business output. so how to disable it.
Add in Program.cs Logger configure
.MinimumLevel.Override("Microsoft", LogEventLevel.Information) after this line
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Error).
Set EntityFrameworkCore minimum log level Error.
Most helpful comment
Add in Program.cs Logger configure
.MinimumLevel.Override("Microsoft", LogEventLevel.Information)after this line.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Error).Set EntityFrameworkCore minimum log level Error.