diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index a3084f4..479ac34 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -21,7 +21,7 @@ jobs: distribution: 'temurin' - uses : actions/checkout@v3 - - run : mkdir ./src/main/resources/ + # - run : mkdir ./src/main/resources/ - run : touch ./src/main/resources/application.yml - run : echo "${{ secrets.APPLICATION }}" > ./src/main/resources/application.yml - run : cat ./src/main/resources/application.yml diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml new file mode 100644 index 0000000..31bd303 --- /dev/null +++ b/src/main/resources/logback-spring.xml @@ -0,0 +1,21 @@ + + + + + + /home/ec2-user/logs/application-${server.port}-%d{yyyy-MM-dd}.%i.log + 7 + + + 100MB + + + + %d{HH:mm:ss.SSS} %-5level %logger{36} - %msg%n + + + + + + +