How to Install and Uninstall liblog4j2-java Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 18,2024

1. Install "liblog4j2-java" package

Please follow the step by step instructions below to install liblog4j2-java on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install liblog4j2-java

2. Uninstall "liblog4j2-java" package

This guide covers the steps necessary to uninstall liblog4j2-java on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove liblog4j2-java $ sudo apt autoclean && sudo apt autoremove

3. Information about the liblog4j2-java package on Ubuntu 21.10 (Impish Indri)

Package: liblog4j2-java
Architecture: all
Version: 2.13.3-1
Priority: optional
Section: universe/java
Source: apache-log4j2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2401
Depends: libcommons-logging-java (>= 1.2), liblightcouch-java (>= 0.0.6), libmongodb-java, libslf4j-java (>= 1.7.30)
Suggests: libgeronimo-jms-1.1-spec-java
Filename: pool/universe/a/apache-log4j2/liblog4j2-java_2.13.3-1_all.deb
Size: 1976492
MD5sum: e21653221feff727776b46f08549daff
SHA1: 3bb721b73ec5ab3d912166a115ce1cf96e7b8b03
SHA256: 12809e210eb0d13d8789d780c60952774dc4974acd1a591d5334ac15da982e1d
SHA512: e92648829b4f31c67adf43028c90fed5f276ebbefdf4c6cb55a81926fbcbd51c2c8f208c09e88c8b30203d603c867b181cbaf3e9ff0aee60ca1b73e13902943b
Homepage: http://logging.apache.org/log4j/2.x/
Description-en: Apache Log4j - Logging Framework for Java
Apache Log4j 2 is an upgrade to Log4j that provides significant improvements
over its predecessor, Log4j 1.x:
.
API Separation: The API for Log4j is separate from the implementation making
it clear for application developers which classes and methods they can use
while ensuring forward compatibility.
.
Improved Performance: Log4j 2 contains next-generation Asynchronous Loggers
based on the LMAX Disruptor library. In multi-threaded scenarios Asynchronous
Loggers have 10 times higher throughput and orders of magnitude lower latency
than Log4j 1.x.
.
Support for multiple APIs: While the Log4j 2 API will provide the best
performance, Log4j 2 provides support for the SLF4J and Commons Logging APIs.
.
Automatic Reloading of Configurations: Log4j 2 can automatically reload its
configuration upon modification. It will do so without losing log events
while reconfiguration is taking place.
.
Advanced Filtering: Log4j 2 supports filtering based on context
data, markers, regular expressions, and other components in the Log event.
Filtering can be specified to apply to all events before being passed to
Loggers or as they pass through Appenders.
.
Plugin Architecture: Log4j uses the plugin pattern to configure components.
As such, no code is needed to create and configure an Appender, Layout,
Pattern Converter, and so on. Log4j automatically recognizes plugins
and uses them when a configuration references them.
.
Property Support: Properties can be referenced in a configuration, Log4j will
directly replace them, or Log4j will pass them to an underlying component that
will dynamically resolve them. Properties come from values defined in the
configuration file, system properties, environment variables, the
ThreadContext Map, and data present in the event.
Description-md5: 45f804957a9794c4f807c12a4e0985f7