Logging configuration is commonly provided by the `Logging` section of `appsettings.{Environment}.json` files. To log SQL statements, add `"Microsoft.EntityFrameworkCore.Database.Command": "Information"` to the `appsettings.Development.json` file:
For more information, see <xref:fundamentals/logging/index#configure-logging> and this [GitHub issue](https://github.com/dotnet/aspnetcore/issues/32977).