Browse Source

#503 - Update documentation to reflect Spring R2DBC's logger prefix.

pull/1188/head
Mark Paluch 5 years ago
parent
commit
f2507858b0
No known key found for this signature in database
GPG Key ID: 51A00FA751B91849
  1. 5
      src/main/asciidoc/reference/r2dbc-core.adoc
  2. 2
      src/main/asciidoc/reference/r2dbc-upgrading.adoc

5
src/main/asciidoc/reference/r2dbc-core.adoc

@ -79,12 +79,13 @@ To do so: @@ -79,12 +79,13 @@ To do so:
The repository is also https://repo.spring.io/milestone/org/springframework/data/[browseable here].
You may also want to set the logging level to `DEBUG` to see some additional information. To do so, edit the `application.properties` file to have the following content:
You may also want to set the logging level to `DEBUG` to see some additional information.
To do so, edit the `application.properties` file to have the following content:
====
[source]
----
logging.level.org.springframework.data.r2dbc=DEBUG
logging.level.org.springframework.r2dbc=DEBUG
----
====

2
src/main/asciidoc/reference/r2dbc-upgrading.adoc

@ -18,6 +18,8 @@ Spring R2DBC's `DatabaseClient` is a more lightweight implementation that encaps @@ -18,6 +18,8 @@ Spring R2DBC's `DatabaseClient` is a more lightweight implementation that encaps
You will notice that the method to run SQL statements changed from `DatabaseClient.execute(…)` to `DatabaseClient.sql(…)`.
The fluent API for CRUD operations has moved into `R2dbcEntityTemplate`.
If you use logging of SQL statements through the logger prefix `org.springframework.data.r2dbc`, make sure to update it to `org.springframework.r2dbc` (that is removing `.data`) to point to Spring R2DBC components.
[[upgrading.1.1-1.2.deprecation]]
=== Deprecations

Loading…
Cancel
Save