Spring Boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# LOGGING | |
logging.file=myapp.log | |
logging.level.root=ERROR | |
logging.level.info.didyapp=INFO | |
# EMBEDDED SERVER CONFIGURATION | |
server.port=8080 | |
# DATASOURCE | |
spring.datasource.url=jdbc:mysql://localhost:3306/test?zeroDateTimeBehavior=convertToNull&useUnicode=yes&characterEncoding=utf8 | |
spring.datasource.username=root | |
spring.datasource.password= | |
spring.datasource.driver-class-name=com.mysql.jdbc.Driver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see: http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#common-application-properties | |
# ---------------------------------------- | |
# CORE PROPERTIES | |
# ---------------------------------------- | |
# LOGGING | |
logging.level.info.didyapp=DEBUG | |
logging.level.root=INFO | |
#spring.mail.host= | |
#spring.mail.password= | |
#spring.mail.port= | |
#spring.mail.protocol= | |
#spring.mail.username= | |
# ---------------------------------------- | |
# WEB PROPERTIES | |
# ---------------------------------------- | |
# MULTIPART | |
multipart.enabled=true | |
multipart.file-size-threshold=512KB | |
multipart.max-file-size=1MB | |
multipart.max-request-size=10MB | |
# EMBEDDED SERVER CONFIGURATION | |
server.port=8080 | |
# SPRING RESOURCES HANDLING (ResourceProperties) | |
spring.resources.add-mappings=true | |
spring.resources.cache-period=86400 | |
spring.resources.chain.cache=true | |
# SPRING MVC (WebMvcProperties) | |
#spring.mvc.view.prefix= /WEB-INF/jsp/ | |
#spring.mvc.view.suffix= .jsp | |
# ---------------------------------------- | |
# SECURITY PROPERTIES | |
# ---------------------------------------- | |
# SECURITY | |
#security.user.name=admin | |
#security.user.password=admin | |
#security.user.role=ADMIN | |
#security.basic.path=/admin/* | |
# ---------------------------------------- | |
# DATA PROPERTIES | |
# ---------------------------------------- | |
# DATASOURCE | |
spring.datasource.url=jdbc:mysql://localhost:3306/test?zeroDateTimeBehavior=convertToNull&useUnicode=yes&characterEncoding=utf8 | |
spring.datasource.username=root | |
spring.datasource.password= | |
spring.datasource.driver-class-name=com.mysql.jdbc.Driver | |
spring.datasource.test-on-borrow=true | |
spring.datasource.validation-query=SELECT 1 | |
# JPA | |
#spring.jpa.open-in-view=true | |
spring.jpa.show-sql=false | |
spring.jpa.database=mysql | |
spring.jpa.generate-ddl=true | |
spring.jpa.hibernate.ddl-auto=update | |
spring.data.jpa.repositories.enabled=true | |
# ---------------------------------------- | |
# ACTUATOR PROPERTIES | |
# ---------------------------------------- | |
# ENDPOINTS | |
#endpoints.health.id=health | |
#endpoints.health.sensitive=false | |
#endpoints.health.enabled=true | |
# HEALTH INDICATORS | |
#management.health.db.enabled=true | |
#management.health.diskspace.enabled=true | |
# ---------------------------------------- | |
# DEVTOOLS PROPERTIES | |
# ---------------------------------------- | |
# DEVTOOLS | |
#spring.devtools.restart.enabled=true | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<include resource="org/springframework/boot/logging/logback/base.xml"/> | |
<logger name="org.springframework.web" level="DEBUG"/> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment