Skip to content

Commit

Permalink
Feat/#74 logging 설정 변경 (#75)
Browse files Browse the repository at this point in the history
* feat: docker 배포 테스트

* feat: docker 배포 테스트

* feat: docker 배포 테스트

* feat: docker 배포 테스트

* feat: 로깅 설정 변경
  • Loading branch information
birdieHyun authored Dec 10, 2023
1 parent 677f29a commit f84b6ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/be-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:

env:
WORKING_DIRECTORY: ./
CODE_DEPLOY_APPLICATION_NAME: cicd
CODE_DEPLOY_DEPLOYMENT_GROUP_NAME: cicd
S3_BUCKET_NAME: yg-img-storage

jobs:
build:
Expand Down Expand Up @@ -60,5 +57,5 @@ jobs:
sudo docker rm -f hifit-ecr
sudo aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | sudo docker login --username AWS --password-stdin ${{ secrets.DOCKER_USERNAME }}
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/hifit-ecr:latest
sudo docker run -d --name hifit-ecr -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/hifit-ecr:latest
sudo docker run -d --name hifit-ecr -p 8080:8080 -v /home/ubuntu/be-log:/var/log ${{ secrets.DOCKER_USERNAME }}/hifit-ecr:latest
sudo docker image prune -a -f
4 changes: 3 additions & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ logging:
SQL: DEBUG
type:
descriptor:
sql: trace
sql: trace
file:
path: /var/log/server.log

0 comments on commit f84b6ad

Please sign in to comment.