BSD Ports

devel/apache-log4j2 2.24.3 MidnightBSD

Fast and flexible logging library for Java

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
Apache-2.0
Categories
devel, java

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
MidnightBSDdevel/apache-log4j22.24.3
FreeBSDdevel/apache-log4j22.26.1
DragonFlydevel/apache-log4j22.24.3
HardenedBSDdevel/apache-log4j22.26.1
GhostBSDdevel/apache-log4j22.26.1

Install

Binary package:

mport install apache-log4j2

From mports:

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

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

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

Dependencies

No port depends on this one.

Configuration

Options name: devel_log4j2

OptionDefaultDescription
DOCSoff
USES
cpe java zip
Service scripts
none

Files

pkg-plist 27
  • %%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-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.24.3-bin.zip3.617769e+06359ef2d7278b67a72053239c1c8cdba44a5681097835d010982470e121c2338a
Master sites 1
  • APACHE/logging/log4j/2.24.3