From 486afbc08d4689105019f77bf1ca0d1a2fc5ab0f Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Thu, 16 Dec 2021 18:42:45 +0100 Subject: Use slf4j-simple instead of log4j for logging JGit uses slf4j-api as logging API. The libraries - org.eclipse.jgit.http.test - org.eclipse.jgit.pgm - org.eclipse.jgit.ssh.apache.test - org.eclipse.jgit.test used the outdated log4j 1.2.15 which is EOL since years. Since both jgit command line and also the tests don't need sophisticated logging features replace log4j with the much simpler slf4j-simple log implementation. The org.slf4j.binding.simple 1.7.30 archive has only 25kB instead of 429kB for log4j 1.2.15 Applications using jgit are free to choose any other log implementation supporting slf4j API. Change-Id: I89e85cd3c76e954c3434622510975ce65dc227d4 --- lib/BUILD | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/BUILD') diff --git a/lib/BUILD b/lib/BUILD index 1901be8ec8..68344e4f6f 100644 --- a/lib/BUILD +++ b/lib/BUILD @@ -260,7 +260,6 @@ java_library( java_library( name = "slf4j-simple", - testonly = 1, visibility = ["//visibility:public"], exports = ["@slf4j-simple//jar"], ) -- cgit v1.2.3