Skip to content

Spring Boot 2.2.0 M1 Configuration Changelog

Phillip Webb edited this page Jun 8, 2020 · 1 revision

Configuration properties change between 2.1.3.RELEASE and 2.2.0 M1

Table 1. Deprecated keys in 2.2.0 M1

Key

Replacement

Reason

logging.file

logging.file.name

logging.path

logging.file.path

spring.datasource.dbcp2.enable-auto-commit-on-return

Table 2. New keys in 2.2.0 M1

Key

Default value

Description

logging.file.clean-history-on-start

false

Whether to clean the archive log files on startup.

logging.file.name

Log file name (for instance, myapp.log).

logging.file.path

Location of the log file.

logging.file.total-size-cap

0B

Total size of log backups to be kept.

server.tomcat.accesslog.max-days

-1

Number of days to retain the access log files before they are removed.

server.tomcat.processor-cache

200

Maximum number of idle processors that will be retained in the cache and reused with a subsequent request.

spring.data.neo4j.use-native-types

false

Whether to use Neo4j native types wherever possible.

spring.datasource.dbcp2.auto-commit-on-return

spring.main.lazy-initialization

false

Whether initialization should be performed lazily.

spring.security.oauth2.resourceserver.jwt.jws-algorithm

RS256

JSON Web Algorithm used for verifying the digital signatures.

spring.task.execution.shutdown.await-termination

false

Whether the executor should wait for scheduled tasks to complete on shutdown.

spring.task.execution.shutdown.await-termination-period

Maximum time the executor should wait for remaining tasks to complete.

spring.task.scheduling.shutdown.await-termination

false

Whether the executor should wait for scheduled tasks to complete on shutdown.

spring.task.scheduling.shutdown.await-termination-period

Maximum time the executor should wait for remaining tasks to complete.

Table 3. Removed keys in 2.2.0 M1

Key

Replacement

Reason

management.endpoints.jmx.unique-names

Whether unique runtime object names should be ensured.

server.tomcat.max-http-header-size

0B

Maximum size of the HTTP message header.

spring.data.cassandra.load-balancing-policy

Class name of the load balancing policy.

spring.data.cassandra.reconnection-policy

Class name of the reconnection policy.

spring.data.cassandra.retry-policy

Class name of the retry policy.

spring.kafka.streams.cache-max-bytes-buffering

spring.rabbitmq.template.queue

Clone this wiki locally