From f9c655f588a05a7b650bb5691dc584d9ccc4a60f Mon Sep 17 00:00:00 2001 From: Pascal Christoph Date: Thu, 21 Nov 2024 12:47:47 +0100 Subject: [PATCH 1/2] Add log4j logging and bridge (#383) Enables logging. --- 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..95a0d793 --- /dev/null +++ b/metafix/src/main/resources/log4j.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + From 6edfb8ed0ca2ac8ec1eef4690ad2cccb4e5c35c2 Mon Sep 17 00:00:00 2001 From: Pascal Christoph Date: Thu, 28 Nov 2024 09:25:32 +0100 Subject: [PATCH 2/2] Update metafix/src/main/resources/log4j.xml Co-authored-by: Jens Wille --- metafix/src/main/resources/log4j.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metafix/src/main/resources/log4j.xml b/metafix/src/main/resources/log4j.xml index 95a0d793..81f3a9e5 100644 --- a/metafix/src/main/resources/log4j.xml +++ b/metafix/src/main/resources/log4j.xml @@ -10,7 +10,7 @@ - +