diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 5bf76f504..a78bdc637 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 6a95bbe65..c1f9c81f0 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: diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index dfd933f86..34c950cf3 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