Skip to content

Instantly share code, notes, and snippets.

@cnblogs-dudu
Created August 16, 2019 07:11
Show Gist options
  • Save cnblogs-dudu/b16b01bbd9e4dff05555df846a42050c to your computer and use it in GitHub Desktop.
Save cnblogs-dudu/b16b01bbd9e4dff05555df846a42050c to your computer and use it in GitHub Desktop.
error log in asp.net core 3.0 app
2019-08-15 21:00:15.320 [Error] Failed executing DbCommand ("30,360"ms) [Parameters=["..."], CommandType='Text', CommandTimeout='30']"
...
Microsoft.EntityFrameworkCore.Database.Command
2019-08-15 21:00:15.321 [Error] An exception occurred while iterating over the results of a query for context type '"EfUnitOfWork"'.
System.Data.SqlClient.SqlException (0x80131904): Timeout expired.
The timeout period elapsed prior to completion of the operation or the server is not responding.
---> System.ComponentModel.Win32Exception (258): Unknown error 258
at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__126_0(Task`1 result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment