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
divega commentedon Apr 10, 2018
From @smitpatel on June 22, 2017 14:21
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()divega commentedon Apr 10, 2018
From @jayoungers on August 23, 2017 17:55
How is that not mentioned here?
https://docs.microsoft.com/en-us/ef/core/miscellaneous/logging
divega commentedon Apr 10, 2018
From @smitpatel on August 23, 2017 21:26
@divega For doc issue
divega commentedon Apr 10, 2018
From @ajcvickers on April 10, 2018 18:57
@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)
[-]Logging DbCommands: All parameters are '?'[/-][+]Document EnabkeSensitiveDataLogging[/+][-]Document EnabkeSensitiveDataLogging[/-][+]Document EnableSensitiveDataLogging[/+]16 remaining items
Docs for logging, events, and diagnostics
Docs for logging, events, and diagnostics
Docs for logging, events, and diagnostics
Docs for logging, events, and diagnostics
Docs for logging, events, and diagnostics
Docs for logging, events, and diagnostics (#2787)