diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 184935f..6392635 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -69,6 +69,6 @@ jobs: sudo docker ps sudo docker rm -f $(docker ps -qa) sudo docker pull ${{ secrets.DOCKER_USERNAME }}/moyeomoyeo - cd ./app/docker + cd /moyeo-moyeo-BE/app/docker sudo docker-compose up -d sudo docker image prune -f diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml new file mode 100644 index 0000000..5dbac07 --- /dev/null +++ b/src/main/resources/logback-spring.xml @@ -0,0 +1,28 @@ + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + ${LOG_DIR}/moyeomoyeo.log + + ${LOG_DIR}/%d{yyyy-MM-dd}.%i.log + 10MB + 7 + + + + + + + + + + +