Skip to content

Commit 6bd217d

Browse files
committed
#503 - Update documentation to reflect Spring R2DBC's logger prefix.
1 parent 0bd0860 commit 6bd217d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
R2DBC contains a wide range of features:
22

3-
* Spring configuration support with Java-based `@Configuration` classes for an R2DBC driver instance.
3+
* Spring configuration support with Java-based `@Configuration` classes for an R2DBC driver instance.
44
* `R2dbcEntityTemplate` as central class for entity-bound operations that increases productivity when performing common R2DBC operations with integrated object mapping between rows and POJOs.
55
* Feature-rich object mapping integrated with Spring's Conversion Service.
66
* Annotation-based mapping metadata that is extensible to support other metadata formats.
@@ -79,12 +79,12 @@ To do so:
7979

8080
The repository is also https://repo.spring.io/milestone/org/springframework/data/[browseable here].
8181

82-
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:
82+
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:
8383

8484
====
8585
[source]
8686
----
87-
logging.level.org.springframework.data.r2dbc=DEBUG
87+
logging.level.org.springframework.r2dbc=DEBUG
8888
----
8989
====
9090

@@ -138,7 +138,7 @@ Even in this simple example, there are few things to notice:
138138

139139
* You can create an instance of the central helper class in Spring Data R2DBC (`R2dbcEntityTemplate`) by using a standard `io.r2dbc.spi.ConnectionFactory` object.
140140
* The mapper works against standard POJO objects without the need for any additional metadata (though you can, optionally, provide that information -- see <<mapping,here>>.).
141-
* Mapping conventions can use field access. Notice that the `Person` class has only getters.
141+
* Mapping conventions can use field access.Notice that the `Person` class has only getters.
142142
* If the constructor argument names match the column names of the stored row, they are used to instantiate the object.
143143

144144
[[r2dbc.examples-repo]]

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Spring R2DBC's `DatabaseClient` is a more lightweight implementation that encaps
1818
You will notice that the method to run SQL statements changed from `DatabaseClient.execute(…)` to `DatabaseClient.sql(…)`.
1919
The fluent API for CRUD operations has moved into `R2dbcEntityTemplate`.
2020

21+
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.
22+
2123
[[upgrading.1.1-1.2.deprecation]]
2224
=== Deprecations
2325

0 commit comments

Comments
 (0)