From 08f600377cdd3a488dcfc414f15d15cf805855f4 Mon Sep 17 00:00:00 2001 From: Ahmed Elwasefi Date: Sat, 18 May 2024 21:48:50 +0300 Subject: [PATCH] Test add logs sync for jobs. --- compose.yaml | 2 ++ services/jobs/pom.xml | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/compose.yaml b/compose.yaml index 0700244d..664c40c0 100644 --- a/compose.yaml +++ b/compose.yaml @@ -62,6 +62,8 @@ services: - jobs env_file: - ./services/jobs/.env + volumes: + - /logs/jobs:/app/logs deploy: labels: swarm.autoscaler: 'true' diff --git a/services/jobs/pom.xml b/services/jobs/pom.xml index 79a167b3..90677dfd 100644 --- a/services/jobs/pom.xml +++ b/services/jobs/pom.xml @@ -118,6 +118,26 @@ org.springframework.boot spring-boot-starter-log4j2 + + org.apache.logging.log4j + log4j-core + 2.17.1 + + + com.fasterxml.jackson.core + jackson-core + 2.13.0 + + + com.fasterxml.jackson.core + jackson-databind + 2.13.0 + + + com.fasterxml.jackson.core + jackson-annotations + 2.13.0 +