From a4d58ba0a132ff4447ae49a2411476d599f0abb6 Mon Sep 17 00:00:00 2001 From: seojin Yoon <90759319+7zrv@users.noreply.github.com> Date: Mon, 6 Jan 2025 19:37:54 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20logback=EC=9D=98=20loki=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=20=EC=84=A4=EC=A0=95=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - logback-spring.xml 파일의 loki appender 내부 url의 환경변수화 --- src/main/resources/logback-spring.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index dfd933f8..34c950cf 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -31,7 +31,7 @@ - http://loki:3100/loki/api/v1/push + ${LOKI_URL} 30000 15000 3 From b0da8e619944bd0373a5d95ee4fc9ce98fa79fd7 Mon Sep 17 00:00:00 2001 From: seojin Yoon <90759319+7zrv@users.noreply.github.com> Date: Mon, 6 Jan 2025 19:45:07 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20cicd=20=ED=99=98=EA=B2=BD=EB=B3=80?= =?UTF-8?q?=EC=88=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - loki 연결 url의 환경변수화에 따른 cicd 환경변수 추가 업데이트 --- .github/workflows/CD.yml | 1 + .github/workflows/CI.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 5bf76f50..a78bdc63 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -37,6 +37,7 @@ jobs: ELASTIC_URI=localhost: ${{ secrets.ELASTIC_URI }} ELASTIC_USERNAME: ${{ secrets.ELASTIC_USERNAME }} ELASTIC_PASSWORD: ${{ secrets.ELASTIC_PASSWORD }} + LOKI_URL: ${{ secrets.LOKI_URL }} steps: - name: Github Repository 파일 불러오기 diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6a95bbe6..c1f9c81f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -45,6 +45,7 @@ jobs: ELASTIC_URI=localhost: ${{ secrets.ELASTIC_URI }} ELASTIC_USERNAME: ${{ secrets.ELASTIC_USERNAME }} ELASTIC_PASSWORD: ${{ secrets.ELASTIC_PASSWORD }} + LOKI_URL: ${{ secrets.LOKI_URL }} steps: