Closed sabvente closed 4 years ago
Hello,
I have a working query logging for EF, but my recursive cte query with linq2db doesn't gets logged.
This is my appsettings.json (this is all log config as far as I know):
"Logging": { "LogLevel": { "Microsoft.EntityFrameworkCore.Database.Command": "Information" } }
How can I turn on console logging?
Maybe I have missed something about EF Core Logging. But if you .UseLoggerFactory(MyLoggerFactory) in your DbContext - logging should work.
.UseLoggerFactory(MyLoggerFactory)
DbContext
Closing since there is no additional input.
Hello,
I have a working query logging for EF, but my recursive cte query with linq2db doesn't gets logged.
This is my appsettings.json (this is all log config as far as I know):
How can I turn on console logging?