From aecf18ca0e59913876aae7fc41e15422aea22a84 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Thu, 5 Sep 2024 15:13:25 +0200 Subject: [PATCH] switch to JUL (for now) --- pom.xml | 12 +++--------- src/main/resources/logback.xml | 15 --------------- src/main/resources/logging.properties | 6 ++++++ 3 files changed, 9 insertions(+), 24 deletions(-) delete mode 100644 src/main/resources/logback.xml create mode 100644 src/main/resources/logging.properties diff --git a/pom.xml b/pom.xml index f90328c..25eb1a1 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,6 @@ 2.7.0-beta1 2.0.6 5.0.0 - 1.5.6 2.0.16 @@ -87,14 +86,9 @@ ${slf4j.version} - ch.qos.logback - logback-core - ${logback.version} - - - ch.qos.logback - logback-classic - ${logback.version} + org.slf4j + slf4j-jdk14 + ${slf4j.version} diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml deleted file mode 100644 index a92d372..0000000 --- a/src/main/resources/logback.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - true - - %d{HH:mm:ss.SSS} [%thread] %highlight(%-5level) %logger{36} - %msg%n - - - - - - - diff --git a/src/main/resources/logging.properties b/src/main/resources/logging.properties new file mode 100644 index 0000000..5370608 --- /dev/null +++ b/src/main/resources/logging.properties @@ -0,0 +1,6 @@ +handlers = java.util.logging.ConsoleHandler +java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter +java.util.logging.SimpleFormatter.format = %4$s: %5$s + +.level = ERROR +org.cryptomator.cli.level = INFO \ No newline at end of file