mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Consistent use of "=" for property key
Closes gh-3218
This commit is contained in:
parent
defceec90c
commit
01ba732a73
@ -414,10 +414,10 @@ typically in `application.properties` or `application.yml`. For example:
|
||||
|
||||
[source,properties,indent=0,subs="verbatim,quotes,attributes"]
|
||||
----
|
||||
server.port = 8443
|
||||
server.ssl.key-store = classpath:keystore.jks
|
||||
server.ssl.key-store-password = secret
|
||||
server.ssl.key-password = another-secret
|
||||
server.port=8443
|
||||
server.ssl.key-store=classpath:keystore.jks
|
||||
server.ssl.key-store-password=secret
|
||||
server.ssl.key-password another-secret
|
||||
----
|
||||
|
||||
See {sc-spring-boot}/context/embedded/Ssl.{sc-ext}[`Ssl`] for details of all of the
|
||||
@ -837,7 +837,7 @@ default, but can easily be enabled via `application.properties`:
|
||||
|
||||
[source,properties,indent=0,subs="verbatim,quotes,attributes"]
|
||||
----
|
||||
server.tomcat.compression: on
|
||||
server.tomcat.compression=on
|
||||
----
|
||||
|
||||
When set to `on` Tomcat will compress responses with a length that is at least 2048
|
||||
@ -846,7 +846,7 @@ e.g.:
|
||||
|
||||
[source,properties,indent=0,subs="verbatim,quotes,attributes"]
|
||||
----
|
||||
server.tomcat.compression: 4096
|
||||
server.tomcat.compression=4096
|
||||
----
|
||||
|
||||
By default Tomcat will only compress responses with certain MIME types
|
||||
@ -1168,8 +1168,8 @@ then you can do that in `application.properties` using the "logging.level" prefi
|
||||
|
||||
[source,properties,indent=0,subs="verbatim,quotes,attributes"]
|
||||
----
|
||||
logging.level.org.springframework.web: DEBUG
|
||||
logging.level.org.hibernate: ERROR
|
||||
logging.level.org.springframework.web=DEBUG
|
||||
logging.level.org.hibernate=ERROR
|
||||
----
|
||||
|
||||
You can also set the location of a file to log to (in addition to the console) using
|
||||
|
@ -244,7 +244,7 @@ to your application properties:
|
||||
|
||||
[source,properties,indent=0]
|
||||
----
|
||||
management.health.status.order: DOWN, OUT_OF_SERVICE, UNKNOWN, UP
|
||||
management.health.status.order=DOWN, OUT_OF_SERVICE, UNKNOWN, UP
|
||||
----
|
||||
|
||||
You might also want to register custom status mappings with the `HealthMvcEndpoint`
|
||||
|
@ -890,8 +890,8 @@ FATAL, OFF. Example `application.properties`:
|
||||
|
||||
[source,properties,indent=0,subs="verbatim,quotes,attributes"]
|
||||
----
|
||||
logging.level.org.springframework.web: DEBUG
|
||||
logging.level.org.hibernate: ERROR
|
||||
logging.level.org.springframework.web=DEBUG
|
||||
logging.level.org.hibernate=ERROR
|
||||
----
|
||||
|
||||
NOTE: By default Spring Boot remaps Thymeleaf `INFO` messages so that they are logged at
|
||||
|
Loading…
Reference in New Issue
Block a user