You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default EF doesn't put data in logs as the data may contain sensitive information. To get those parameter values, you need to chain EnableSensitiveDataLogging() after your UseSqlServer (or equivalent method)
e.g. builder.UseSqlServer("connectionstring").EnableSensitiveDataLogging()
Activity
smitpatel commentedon Jun 22, 2017
By default EF doesn't put data in logs as the data may contain sensitive information. To get those parameter values, you need to chain
EnableSensitiveDataLogging()after yourUseSqlServer(or equivalent method)e.g.
builder.UseSqlServer("connectionstring").EnableSensitiveDataLogging()JohnYoungers commentedon Aug 23, 2017
How is that not mentioned here?
https://docs.microsoft.com/en-us/ef/core/miscellaneous/logging
smitpatel commentedon Aug 23, 2017
@divega For doc issue
ajcvickers commentedon Apr 10, 2018
@divega Can this be moved out of the 2.1 milestone. (We are trying to make 2.1 only include issues that we must fix for 2.1)
divega commentedon Apr 10, 2018
This issue was moved to dotnet/EntityFramework.Docs#673