BSD Ports

devel/apache-log4j2 2.26.1 FreeBSD

Fast and flexible logging library for Java

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d57150a2c1
License
APACHE20
Categories
devel, java
Package size
3022.9 KiB, 3678.6 KiB installed

Description

Apache Log4j 2 is an upgrade to Log4j that provides significant improvements over its predecessor, Log4j 1.x, and provides many of the improvements available in Logback while fixing some inherent problems in Logback's architecture.

Log4J is an open source library based on the work of many authors. It allows the developer to control which log statements are output with arbitrary granularity. It is fully configurable at runtime using external configuration files. Best of all, Log4J has a gentle learning curve. Beware: judging from user feedback, it is also quite addictive.

See also <https://github.com/apache/logging-log4j2>.

In the other systems

SystemPortVersion
FreeBSDdevel/apache-log4j22.26.1
DragonFlydevel/apache-log4j22.24.3
MidnightBSDdevel/apache-log4j22.24.3

Install

Binary package:

pkg install apache-log4j2

From the ports tree:

cd /usr/ports/devel/apache-log4j2/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	apache-log4j2>0:devel/apache-log4j2

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.26.12.26.12.19.02.25.12.26.1
FreeBSD:14:quarterly2.26.12.26.1n/a2.24.32.26.1
FreeBSD:15:latest2.26.12.26.1n/a2.25.12.25.1
FreeBSD:15:quarterly2.26.12.26.1n/an/an/a
FreeBSD:16:latest2.26.12.26.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Run dependencies 53

Configuration

Options name: devel_log4j2

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
cpe java zip
Service scripts
none

Files

pkg-plist 28
  • %%JAVAJARDIR%%/log4j-1.2-api.jar
  • %%JAVAJARDIR%%/log4j-api.jar
  • %%JAVAJARDIR%%/log4j-api-test.jar
  • %%JAVAJARDIR%%/log4j-appserver.jar
  • %%JAVAJARDIR%%/log4j-cassandra.jar
  • %%JAVAJARDIR%%/log4j-core.jar
  • %%JAVAJARDIR%%/log4j-core-test.jar
  • %%JAVAJARDIR%%/log4j-couchdb.jar
  • %%JAVAJARDIR%%/log4j-docker.jar
  • %%JAVAJARDIR%%/log4j-iostreams.jar
  • %%JAVAJARDIR%%/log4j-jakarta-jms.jar
  • %%JAVAJARDIR%%/log4j-jakarta-smtp.jar
  • %%JAVAJARDIR%%/log4j-jakarta-web.jar
  • %%JAVAJARDIR%%/log4j-jcl.jar
  • %%JAVAJARDIR%%/log4j-jdbc-dbcp2.jar
  • %%JAVAJARDIR%%/log4j-jpa.jar
  • %%JAVAJARDIR%%/log4j-jpl.jar
  • %%JAVAJARDIR%%/log4j-jul.jar
  • %%JAVAJARDIR%%/log4j-layout-template-json.jar
  • %%JAVAJARDIR%%/log4j-mongodb.jar
  • %%JAVAJARDIR%%/log4j-mongodb4.jar
  • %%JAVAJARDIR%%/log4j-slf4j-impl.jar
  • %%JAVAJARDIR%%/log4j-slf4j2-impl.jar
  • %%JAVAJARDIR%%/log4j-spring-boot.jar
  • %%JAVAJARDIR%%/log4j-spring-cloud-config-client.jar
  • %%JAVAJARDIR%%/log4j-taglib.jar
  • %%JAVAJARDIR%%/log4j-to-jul.jar
  • %%JAVAJARDIR%%/log4j-web.jar
distinfo 1
FileSizeSHA256
apache-log4j-2.26.1-bin.zip3.700353e+06e1488c19241772da9d391da755536af9da3b10f59ae07747ddd4802ae1a5ea77
Master sites 1
  • APACHE/logging/log4j/2.26.1

Commit history 1

DateCommitCreditsLog message
d57150a2c1 Thierry Thomas devel/apache-log4j2: upgrade to 2.26.1
Release notes at https://logging.apache.org/log4j/2.x/release-notes.html#release-notes-2-26-1