From 6a9ac83544b6e3f0ef18208bf699b4317bc3b986 Mon Sep 17 00:00:00 2001 From: Ivor D'Souza Date: Sun, 27 Oct 2024 17:43:25 +0000 Subject: [PATCH 1/2] feat(elk-stack-setup): add ecs logging for elastic setup --- pom.xml | 24 +++++-------------- src/main/resources/application.properties | 4 ++-- src/main/resources/logback-spring.xml | 21 ++++++++++++++++ .../WEB-INF/jboss-deployment-structure.xml | 8 +++++++ 4 files changed, 37 insertions(+), 20 deletions(-) create mode 100644 src/main/resources/logback-spring.xml create mode 100644 src/main/webapp/WEB-INF/jboss-deployment-structure.xml diff --git a/pom.xml b/pom.xml index 0c0aa2e..732e10c 100644 --- a/pom.xml +++ b/pom.xml @@ -34,24 +34,12 @@ org.springframework.boot spring-boot-starter-aop 3.2.2 - - - ch.qos.logback - logback-core - - - ch.qos.logback - logback-classic - - - org.springframework.boot - spring-boot-starter-logging - - - org.slf4j - log4j-over-slf4j - - + + + + co.elastic.logging + logback-ecs-encoder + 0.4.0