Closed
Description
Sorry if the responsible for this issue doesn't belong in this repo, but I don't know any better. 🦆
We are using Spring Data JDBC in our application, and when these kind of exceptions are thrown, the default is to print the entire sql which failed into console. I'm thinking that i want most of the information like db-operation, table, columns, etc, etc, but the actual data could be sensitive and should not appear in logs by default.
Could it be an idea to atleast hide the actual data behind debug/trace or another kind of solution?