-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document EnableSensitiveDataLogging #673
Comments
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 |
From @jayoungers on August 23, 2017 17:55 How is that not mentioned here? https://docs.microsoft.com/en-us/ef/core/miscellaneous/logging |
From @smitpatel on August 23, 2017 21:26 @divega For doc issue |
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) |
**No TOC yet since we need to decide what to do with `Fundamentals`. @smitpatel I do not intend to merge this way.** * Fixes #2615: Add information on controlling suppressing warnings and otherwise configuring EventIds * Fixes #2557: Support logging on DB level #2557 * Fixes #2770: Add entry in TOC for logging/interceptors * Fixes #583: Document how to use DiagnosticSource/DiagnosticListener * Fixes #673: Document EnableSensitiveDataLogging * Fixes #1913: Interception of database operations: InterceptionResult or InterceptionResult<DbDataReader>? * Fixes #1543: Document database interceptors with examples * Fixes #955: Document EnableRichDataErrorHandling * Fixes #661: EF Core 2.1: document state change events
**No TOC yet since we need to decide what to do with `Fundamentals`. @smitpatel I do not intend to merge this way.** * Fixes #2615: Add information on controlling suppressing warnings and otherwise configuring EventIds * Fixes #2557: Support logging on DB level #2557 * Fixes #2770: Add entry in TOC for logging/interceptors * Fixes #583: Document how to use DiagnosticSource/DiagnosticListener * Fixes #673: Document EnableSensitiveDataLogging * Fixes #1913: Interception of database operations: InterceptionResult or InterceptionResult<DbDataReader>? * Fixes #1543: Document database interceptors with examples * Fixes #955: Document EnableRichDataErrorHandling * Fixes #661: EF Core 2.1: document state change events
**No TOC yet since we need to decide what to do with `Fundamentals`. @smitpatel I do not intend to merge this way.** * Fixes #2615: Add information on controlling suppressing warnings and otherwise configuring EventIds * Fixes #2557: Support logging on DB level #2557 * Fixes #2770: Add entry in TOC for logging/interceptors * Fixes #583: Document how to use DiagnosticSource/DiagnosticListener * Fixes #673: Document EnableSensitiveDataLogging * Fixes #1913: Interception of database operations: InterceptionResult or InterceptionResult<DbDataReader>? * Fixes #1543: Document database interceptors with examples * Fixes #955: Document EnableRichDataErrorHandling * Fixes #661: EF Core 2.1: document state change events
**No TOC yet since we need to decide what to do with `Fundamentals`. @smitpatel I do not intend to merge this way.** * Fixes #2615: Add information on controlling suppressing warnings and otherwise configuring EventIds * Fixes #2557: Support logging on DB level #2557 * Fixes #2770: Add entry in TOC for logging/interceptors * Fixes #583: Document how to use DiagnosticSource/DiagnosticListener * Fixes #673: Document EnableSensitiveDataLogging * Fixes #1913: Interception of database operations: InterceptionResult or InterceptionResult<DbDataReader>? * Fixes #1543: Document database interceptors with examples * Fixes #955: Document EnableRichDataErrorHandling * Fixes #661: EF Core 2.1: document state change events
**No TOC yet since we need to decide what to do with `Fundamentals`. @smitpatel I do not intend to merge this way.** * Fixes #2615: Add information on controlling suppressing warnings and otherwise configuring EventIds * Fixes #2557: Support logging on DB level #2557 * Fixes #2770: Add entry in TOC for logging/interceptors * Fixes #583: Document how to use DiagnosticSource/DiagnosticListener * Fixes #673: Document EnableSensitiveDataLogging * Fixes #1913: Interception of database operations: InterceptionResult or InterceptionResult<DbDataReader>? * Fixes #1543: Document database interceptors with examples * Fixes #955: Document EnableRichDataErrorHandling * Fixes #661: EF Core 2.1: document state change events
* Fixes #2615: Add information on controlling suppressing warnings and otherwise configuring EventIds * Fixes #2557: Support logging on DB level #2557 * Fixes #2770: Add entry in TOC for logging/interceptors * Fixes #583: Document how to use DiagnosticSource/DiagnosticListener * Fixes #673: Document EnableSensitiveDataLogging * Fixes #1913: Interception of database operations: InterceptionResult or InterceptionResult<DbDataReader>? * Fixes #1543: Document database interceptors with examples * Fixes #955: Document EnableRichDataErrorHandling * Fixes #661: EF Core 2.1: document state change events
From @Wain123 on June 22, 2017 11:7
I have an ILogger with the following function:
DbCommands get logged and the CommandText looks correct, but all the parameter values are simply '?'. Here's a sample output from the Logger:
Copied from original issue: dotnet/efcore#8933
The text was updated successfully, but these errors were encountered: