]> source.dussan.org Git - jgit.git/commit
Use slf4j-simple instead of log4j for logging 24/188924/7
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 16 Dec 2021 17:42:45 +0000 (18:42 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 31 Dec 2021 00:09:52 +0000 (01:09 +0100)
commit486afbc08d4689105019f77bf1ca0d1a2fc5ab0f
tree94b4251020206fe7bb62987d79f482feb20783f0
parente06eeb0167e45f9c8c30f416ea0366cc8924533d
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
32 files changed:
lib/BUILD
org.eclipse.jgit.http.test/build.properties
org.eclipse.jgit.packaging/org.eclipse.jgit.repository/category.xml
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.10.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.11.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.12.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.13.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.14.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.15.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.16.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.17.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.18.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.19.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.20.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.21.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.6.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.7.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.8.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.9.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/orbit/R20211213173813-2021-12.tpd
org.eclipse.jgit.pgm/build.properties
org.eclipse.jgit.pgm/pom.xml
org.eclipse.jgit.pgm/resources/log4j.properties [deleted file]
org.eclipse.jgit.pgm/resources/simplelogger.properties [new file with mode: 0644]
org.eclipse.jgit.ssh.apache.test/build.properties
org.eclipse.jgit.test/build.properties
org.eclipse.jgit.test/tests.bzl
org.eclipse.jgit.test/tst-rsrc/log4j.properties [deleted file]
org.eclipse.jgit.test/tst-rsrc/simplelogger.properties
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/SecurityManagerMissingPermissionsTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/WalkEncryptionTest.java
pom.xml