Efcore: Logging query execution time for LogLevel=INFO

Created on 3 Oct 2019  路  1Comment  路  Source: dotnet/efcore

It will be useful logging query execution time also when LogLevel is set INFO

For example:

Executed DbCommand (16ms) [Parameters=[], CommandType='Text', CommandTimeout='30']

closed-fixed customer-reported type-bug

Most helpful comment

We should be logging command _executed_ rather than command _executing_ at Info level. This was an unintentional break; we plan to fix it in 3.1.

>All comments

We should be logging command _executed_ rather than command _executing_ at Info level. This was an unintentional break; we plan to fix it in 3.1.

Was this page helpful?
0 / 5 - 0 ratings