From f9941a902dee03f232d53608a819bc1919727da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=84=B8=EC=A4=80?= <74056843+sejoon00@users.noreply.github.com> Date: Sat, 31 Aug 2024 04:35:25 +0900 Subject: [PATCH] =?UTF-8?q?[feat][#9]=20logback=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 2 ++ src/main/resources/logback-spring.xml | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 src/main/resources/logback-spring.xml diff --git a/build.gradle b/build.gradle index 70cb74f..537d25d 100644 --- a/build.gradle +++ b/build.gradle @@ -66,6 +66,8 @@ dependencies { annotationProcessor "jakarta.annotation:jakarta.annotation-api" annotationProcessor "jakarta.persistence:jakarta.persistence-api" + implementation 'net.logstash.logback:logstash-logback-encoder:7.4' + //s3 implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE' diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml new file mode 100644 index 0000000..7694557 --- /dev/null +++ b/src/main/resources/logback-spring.xml @@ -0,0 +1,18 @@ + + + + dev.bbogak.com:5000 + + + + + + + + + + + + + +