summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2021-12-16 18:42:45 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2021-12-31 01:09:52 +0100
commit486afbc08d4689105019f77bf1ca0d1a2fc5ab0f (patch)
tree94b4251020206fe7bb62987d79f482feb20783f0 /lib
parente06eeb0167e45f9c8c30f416ea0366cc8924533d (diff)
downloadjgit-486afbc08d4689105019f77bf1ca0d1a2fc5ab0f.tar.gz
jgit-486afbc08d4689105019f77bf1ca0d1a2fc5ab0f.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/BUILD1
1 files changed, 0 insertions, 1 deletions
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"],
)