Log values of query parameters in Spring Data R2DBC?
问题 In Spring Data R2DBC I can log SQL queries by using logging.level.org.springframework.data.r2dbc=DEBUG in the application.properties . However, this doesn't log the actual values that are bound as query parameters. How can I log the actual values of query parameters in Spring Data R2DBC? 回答1: This worked for me : logging: level: io.r2dbc.postgresql.QUERY: DEBUG # for queries io.r2dbc.postgresql.PARAM: DEBUG # for parameters I found it here 回答2: If you happen to use MySQL, you can get a low