Skip to content

Commit b094a13

Browse files
committed
Polish documentation
1 parent 4493ef6 commit b094a13

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ This property takes precedence over the default access or an individual endpoint
158158
Set it to `none` to make all endpoints inaccessible.
159159
Set it to `read-only` to only allow read access to endpoints.
160160

161-
For `@Endpoint`, `@JmxEndpoint`, and `@WebEndpoint`, read access equates to the endpoint methods annotated with `@ReadEndpoint`.
161+
For `@Endpoint`, `@JmxEndpoint`, and `@WebEndpoint`, read access equates to the endpoint methods annotated with `@ReadOperation`.
162162
For `@ControllerEndpoint` and `@RestControllerEndpoint`, read access equates to request mappings that can handle `GET` and `HEAD` requests.
163163
For `@ServletEndpoint`, read access equates to `GET` and `HEAD` requests.
164164

@@ -674,7 +674,7 @@ TIP: The `ssl` `HealthIndicator` has a "warning threshold" property named config
674674
If an SSL certificate will be invalid within the time span defined by this threshold, the `HealthIndicator` will warn you but it will still return HTTP 200 to not disrupt the application.
675675
You can use this threshold to give yourself enough lead time to rotate the soon to be expired certificate.
676676

677-
Additional `HealthIndicators` beans are available but are not enabled by default:
677+
Additional `HealthIndicator` beans are available but are not enabled by default:
678678

679679
[cols="3,4,6"]
680680
|===

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/logging.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ You can also declare implementations by listing them in a `META-INF/spring.facto
618618
=== Supporting Other Structured Logging Formats
619619

620620
The structured logging support in Spring Boot is extensible, allowing you to define your own custom format.
621-
To do this, implement the `StructuredLoggingFormatter` interface. The generic type argument has to be `ILoggingEvent` when using Logback and `LogEvent` when using Log4j2 (that means your implementation is tied to a specific logging system).
621+
To do this, implement the `StructuredLogFormatter` interface. The generic type argument has to be `ILoggingEvent` when using Logback and `LogEvent` when using Log4j2 (that means your implementation is tied to a specific logging system).
622622
Your implementation is then called with the log event and returns the `String` to be logged, as seen in this example:
623623

624624
include-code::MyCustomFormat[]

0 commit comments

Comments
 (0)