diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 0ef0fe8b..45fcb581 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -45,6 +45,13 @@ jobs: echo "${{ secrets.PROPERTIES_SECRET }}" > ./application-secret.yml shell: bash + #로그 xml 파일 설정 + - name: Make logback-spring.xml + run: | + cd ./src/main/resources + touch ./logback-spring.xml + echo "${{ secrets.LOGBACK_SPRING }}" > ./logback-spring.xml + shell: bash diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 22193f4b..604e1d4a 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -49,3 +49,5 @@ server: servlet: session: tracking-modes: cookie +#logging: +# config: classpath:logback-spring.xml \ No newline at end of file diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 64b10a78..03450e9d 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -14,9 +14,9 @@ spring: hibernate: metadata_builder_contributor: com.example.jhouse_server.global.util.SqlFunctionsMetadataBuilderContributor default_batch_fetch_size: 100 -# show_sql: true -# format_sql: true -# database-platform: org.hibernate.dialect.MySQL5InnoDBDialect + show_sql: true + format_sql: true + database-platform: org.hibernate.dialect.MySQL5InnoDBDialect datasource: url: ENC(XxBf/3kChMwGNU8+3ch/K9QXB4sRQ+WcSc94MOQqvBHS9lE9gYOA482/JSp4VvsrgQKMV8FLwZeFgGyMFk36B9cNJtFOKFr7hJ0Fowlk/QYjrW0dWJXsVg==) @@ -55,4 +55,6 @@ server: session: tracking-modes: cookie +#logging: +# config: classpath:logback-spring.xml