diff --git a/NOTICE.md b/NOTICE.md index c735df441..5c654dfbf 100644 --- a/NOTICE.md +++ b/NOTICE.md @@ -18,6 +18,11 @@ This product depends on AssertJ, distributed by the AssertJ authors: * License: licenses/bindings/java/errorprone-license.md (Apache License v2.0) * Homepage: https://joel-costigliola.github.io/assertj/ +This product depends on logback, distributed by the logback authors: + +* License: licenses/bindings/java/logback-license.md (Apache License v2.0) +* Homepage: https://github.com/qos-ch/logback?tab=License-1-ov-file + This product depends on serde, distributed by the serde-rs project: * License: licenses/core/serde-apache-license.md (Apache License v2.0) diff --git a/bindings/java/build.gradle.kts b/bindings/java/build.gradle.kts index fcdebad3a..2a4b7b8a8 100644 --- a/bindings/java/build.gradle.kts +++ b/bindings/java/build.gradle.kts @@ -20,6 +20,9 @@ repositories { } dependencies { + implementation("ch.qos.logback:logback-classic:1.5.16") + implementation("ch.qos.logback:logback-core:1.5.16") + errorprone("com.uber.nullaway:nullaway:0.10.26") // maximum version which supports java 8 errorprone("com.google.errorprone:error_prone_core:2.10.0") // maximum version which supports java 8 diff --git a/bindings/java/src/main/resources/logback.xml b/bindings/java/src/main/resources/logback.xml new file mode 100644 index 000000000..5143dd837 --- /dev/null +++ b/bindings/java/src/main/resources/logback.xml @@ -0,0 +1,11 @@ + + + + %d{yyyy-MM-dd HH:mm:ss} %-5level %logger{36} - %msg%n + + + + + + + diff --git a/licenses/bindings/java/logback-license.md b/licenses/bindings/java/logback-license.md new file mode 100644 index 000000000..1e16a14c7 --- /dev/null +++ b/licenses/bindings/java/logback-license.md @@ -0,0 +1,14 @@ +Logback LICENSE +--------------- + +Logback: the reliable, generic, fast and flexible logging framework. +Copyright (C) 1999-2024, QOS.ch. All rights reserved. + +This program and the accompanying materials are dual-licensed under +either the terms of the Eclipse Public License v1.0 as published by +the Eclipse Foundation + +or (per the licensee's choosing) + +under the terms of the GNU Lesser General Public License version 2.1 +as published by the Free Software Foundation.