Skip to content

Commit

Permalink
Add #3 - properties migrator
Browse files Browse the repository at this point in the history
넣어보고, 프로퍼티에 과거 로그백 설정 세팅
테스트 돌리니 안내 문구 표시되는 것 확인

```
Property source 'Config resource 'classpath:/application.properties' via location 'optional:classpath:/'':
	Key: logging.pattern.rolling-file-name
		Line: 1
		Replacement: logging.logback.rollingpolicy.file-name-pattern
```
  • Loading branch information
djkeh committed Jul 11, 2021
1 parent 508b48a commit c60f23a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.gradle
@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot' version '2.5.2'
id 'org.springframework.boot' version '2.4.0'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
Expand All @@ -13,6 +13,7 @@ repositories {
}

dependencies {
implementation 'org.springframework.boot:spring-boot-properties-migrator'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
@@ -1 +1 @@

logging.pattern.rolling-file-name=rolling.txt

0 comments on commit c60f23a

Please sign in to comment.