Open Tornhoof opened 1 year ago
Note for triage: we added these log messages in EF7 (#27920), but, at least on some providers, the database name and server are cleared before this message is logged. We could remove the parameters, or display a different message when they are not available, or record them earlier so they are always available. Or we could do nothing and leave the message as-is for providers where these things are no longer available.
After upgrade to EF Core 7/.NET 7.0, running a simple db app with debug logging, I noticed the following that the disposed log message does not contain any values, just empty placeholders. The log entry just above still contains the values.
Repro:
Include provider and version information
EF Core version: 7.0.0 Database provider:: Microsoft.EntityFrameworkCore.SqlServer Target framework: .NET 7 Operating system: Win11 IDE: VS 17.4