Skip to content

Commit

Permalink
hofix: 설정 파일 분리 (#39)
Browse files Browse the repository at this point in the history
* fix: application.yml 분리

* chore: cd 트리거에 현재 브랜치 추가

* chore: 오타 수정

* chore: 개발 환경에 info 레벨 추가

* chore: 테스트 트리거 삭제
  • Loading branch information
3Juhwan authored Feb 5, 2025
1 parent e95b81f commit 962d876
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 35 deletions.
35 changes: 35 additions & 0 deletions src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
spring:
datasource:
driver-class-name: org.h2.Driver
url: 'jdbc:h2:mem:test'
username: sa

h2:
console:
enabled: true
path: /h2-console

jpa:
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: create-drop
properties:
hibernate:
dialect: org.hibernate.dialect.H2Dialect
# format_sql: true
# show_sql: true

mvc:
async:
request-timeout: 60000 # 60 seconds

logging:
level:
kr:
allcll:
seatfinder:
sse: debug

app:
scheduling:
enabled: true
36 changes: 2 additions & 34 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,3 @@
spring:
datasource:
driver-class-name: org.h2.Driver
url: 'jdbc:h2:mem:test'
username: sa

h2:
console:
enabled: true
path: /h2-console

jpa:
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: create-drop
properties:
hibernate:
dialect: org.hibernate.dialect.H2Dialect
# format_sql: true
# show_sql: true

mvc:
async:
request-timeout: 60000 # 60 seconds

logging:
level:
kr:
allcll:
seatfinder:
sse: debug

app:
scheduling:
enabled: true
profiles:
active: local
2 changes: 1 addition & 1 deletion src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<root level="INFO">
<appender-ref ref="ERROR-ROLLING"/>
<appender-ref ref="WARN-ROLLING"/>
<!-- <appender-ref ref="INFO-ROLLING"/>-->
<appender-ref ref="INFO-ROLLING"/>
<!-- <appender-ref ref="DEBUG-ROLLING"/>-->
</root>
</springProfile>
Expand Down

0 comments on commit 962d876

Please sign in to comment.