From 47304f96af35f65dfc95b6c45fa04bed0455b1b2 Mon Sep 17 00:00:00 2001 From: Pascal Christoph Date: Thu, 21 Nov 2024 12:47:47 +0100 Subject: [PATCH] Add log4j logging and bridge (#383) WIP just showing that something works to log debug level --- metafix-runner/build.gradle | 3 +++ metafix/src/main/resources/log4j.xml | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 metafix/src/main/resources/log4j.xml diff --git a/metafix-runner/build.gradle b/metafix-runner/build.gradle index 1179b5c9..0ec1f873 100644 --- a/metafix-runner/build.gradle +++ b/metafix-runner/build.gradle @@ -30,6 +30,9 @@ dependencies { implementation "org.metafacture:metafacture-xml:${versions.metafacture}" implementation "org.metafacture:metafacture-yaml:${versions.metafacture}" implementation "org.metafacture:metamorph:${versions.metafacture}" + runtimeOnly 'org.apache.logging.log4j:log4j-core' + implementation 'org.apache.logging.log4j:log4j-1.2-api:2.9.1' + implementation 'ch.qos.logback:logback-classic:1.3.14' implementation('org.antlr:antlr-runtime') { version { strictly versions.antlr } diff --git a/metafix/src/main/resources/log4j.xml b/metafix/src/main/resources/log4j.xml new file mode 100644 index 00000000..eee73345 --- /dev/null +++ b/metafix/src/main/resources/log4j.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + +