application.properties
1.24 KB
spring.datasource.hikari.driver-class-name=net.sf.log4jdbc.sql.jdbcapi.DriverSpy
spring.datasource.hikari.jdbc-url=jdbc:log4jdbc:mariadb://localhost:3306/board?allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC
spring.datasource.hikari.username=root
spring.datasource.hikari.password=sangkiham
# root 로깅 레벨 설정
logging.level.root=info
# 패키지 단위로 로깅 레벨 설정
logging.level.com.daeucna.board=debug
# profiles 설정
spring.profiles.active=local
#Server Context-path, port
server.servlet.context-path=/
server.port=8080
#MultipartResolver 설정
spring.servlet.multipart.location=c:\\board\\temp
spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=50MB
# 정적 리소스에 변화가 있을 때 바로 반영한다.
spring.devtools.livereload.enabled=true
# thymeleaf 참조 경로
spring.thymeleaf.prefix=classpath:/templates/
spring.thymeleaf.suffix=.html
# thymeleaf에 대한 캐시를 남기지 않는다.cache=false 설정(운영시는 true)
spring.thymeleaf.cache=false
# templates 디렉토리에 파일이 있는지 없는지 체크, 없으면 에러를 발생시킨다.
spring.thymeleaf.check-template-location=true
# webapp intro page
spring.webservice.intro=/board/boardList