How to Install and Uninstall liblog4j2-java Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 18,2024

1. Install "liblog4j2-java" package

In this section, we are going to explain the necessary steps to install liblog4j2-java on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install liblog4j2-java

2. Uninstall "liblog4j2-java" package

This tutorial shows how to uninstall liblog4j2-java on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the liblog4j2-java package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: liblog4j2-java
Priority: optional
Section: universe/java
Installed-Size: 1363
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Architecture: all
Source: apache-log4j2
Version: 2.4-2
Depends: libapache-pom-java (>= 10), libcommons-logging-java, libslf4j-java
Suggests: libcommons-compress-java, libcommons-csv-java, libdisruptor-java, libgeronimo-jms-1.1-spec-java, libjackson2-core-java, libjackson2-databind-java, libjackson2-dataformat-xml-java, libjackson2-dataformat-yaml, libjansi-java, libjeromq-java, libjpa-2.1-spec-java (>= 2.1.0), liblightcouch-java, libmail-java, libmongodb-java, liblog4j2-java-doc
Filename: pool/universe/a/apache-log4j2/liblog4j2-java_2.4-2_all.deb
Size: 1073104
MD5sum: 52179183b0b7b31cfb73df5fe04a65bf
SHA1: 17c6a70900621ab4608b65bd31bf4825cb5e8497
SHA256: 7f964158987bb10e685433da3bb35a778f0b486dfaf2010f12ab1a1491cadd7b
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
Homepage: http://logging.apache.org/log4j/2.x/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu