# Allow specific endpoint access
management.endpoints.web.cors.allowed-origins = *
management.endpoints.web.cors.allowed-methods = GET
# Logging related settings
logging.path=./src/main/resources/logs/
# Maximum archive log files to keep
# TODO Fix this
logging.file.max-history=2
# When file is over limit it will save the old version in a .gz file.
# For example in a given format spring.log.2019-02-23.0.gz
logging.file.max-size=50MB
# Making custom endpoint accessible
management.endpoints.web.exposure.include=health, info-log
Snippet of an example configuration: