blob: 9cc4e6acddb4933cea4e06c7a8eef77be2076ed6 [file] [log] [blame]
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 1.9.1 from src/site/xdoc/runtime-dependencies.xml at 2020-05-10
| Rendered using Apache Maven Fluido Skin 1.8
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.1" />
<title>Log4j &#x2013; Log4j Runtime Dependencies</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.8.min.css" />
<link rel="stylesheet" href="./css/site.css" />
<link rel="stylesheet" href="./css/print.css" media="print" />
<script src="./js/apache-maven-fluido-1.8.min.js"></script>
</head>
<body class="topBarDisabled">
<div class="container-fluid">
<header>
<div id="banner">
<div class="pull-left"><a href="http://logging.apache.org" id="bannerLeft"><img src="images/ls-logo.jpg" alt=""/></a></div>
<div class="pull-right"><a href="http://logging.apache.org/log4j/2.x" id="bannerRight"><img src="images/logo.png" alt=""/></a></div>
<div class="clear"><hr/></div>
</div>
<div id="breadcrumbs">
<ul class="breadcrumb">
<li id="publishDate">Last Published: 2020-05-10<span class="divider">|</span>
</li>
<li id="projectVersion">Version: 2.13.3</li>
<li class="pull-right"><span class="divider">|</span>
<a href="https://github.com/apache/logging-log4j2" class="externalLink" title="GitHub">GitHub</a></li>
<li class="pull-right"><span class="divider">|</span>
<a href="https://analysis.apache.org/dashboard/index/org.apache.logging.log4j:log4j" class="externalLink" title="Sonar">Sonar</a></li>
<li class="pull-right"><span class="divider">|</span>
<a href="../../" title="Logging Services">Logging Services</a></li>
<li class="pull-right"><span class="divider">|</span>
<a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a></li>
<li class="pull-right"><a href="https://cwiki.apache.org/confluence/display/LOGGING/Log4j" class="externalLink" title="Logging Wiki">Logging Wiki</a></li>
</ul>
</div>
</header>
<div class="row-fluid">
<header id="leftColumn" class="span2">
<nav class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header"><img class="imageLink" src="img/glyphicons/home.png" alt="Apache Log4j™ 2" border="0"/> Apache Log4j™ 2</li>
<li><a href="index.html" title="About"><span class="none"></span>About</a></li>
<li><a href="download.html" title="Download"><span class="none"></span>Download</a></li>
<li><a href="javadoc.html" title="Javadoc"><span class="icon-chevron-right"></span>Javadoc</a></li>
<li><a href="maven-artifacts.html" title="Maven, Ivy, Gradle Artifacts"><span class="icon-chevron-right"></span>Maven, Ivy, Gradle Artifacts</a></li>
<li class="active"><a href="#"><span class="none"></span>Runtime Dependencies</a></li>
<li><a href="changelog.html" title="Changelog"><span class="none"></span>Changelog</a></li>
<li><a href="faq.html" title="FAQ"><span class="none"></span>FAQ</a></li>
<li><a href="performance.html" title="Performance"><span class="icon-chevron-right"></span>Performance</a></li>
<li><a href="articles.html" title="Articles and Tutorials"><span class="none"></span>Articles and Tutorials</a></li>
<li><a href="security.html" title="Security"><span class="none"></span>Security</a></li>
<li><a href="support.html" title="Support"><span class="none"></span>Support</a></li>
<li><a href="thanks.html" title="Thanks"><span class="none"></span>Thanks</a></li>
<li class="nav-header"><img class="imageLink" src="img/glyphicons/pencil.png" alt="For Contributors" border="0"/> For Contributors</li>
<li><a href="build.html" title="Building Log4j from Source"><span class="none"></span>Building Log4j from Source</a></li>
<li><a href="guidelines.html" title="Guidelines"><span class="none"></span>Guidelines</a></li>
<li><a href="javastyle.html" title="Style Guide"><span class="none"></span>Style Guide</a></li>
<li class="nav-header"><img class="imageLink" src="img/glyphicons/book.png" alt="Manual" border="0"/> Manual</li>
<li><a href="manual/index.html" title="Introduction"><span class="none"></span>Introduction</a></li>
<li><a href="manual/architecture.html" title="Architecture"><span class="none"></span>Architecture</a></li>
<li><a href="manual/compatibility.html" title="Log4j 1.x Compatibility"><span class="none"></span>Log4j 1.x Compatibility</a></li>
<li><a href="manual/migration.html" title="Log4j 1.x Migration"><span class="none"></span>Log4j 1.x Migration</a></li>
<li><a href="manual/api.html" title="Java API"><span class="icon-chevron-right"></span>Java API</a></li>
<li><a href="manual/scala-api.html" title="Scala API"><span class="none"></span>Scala API</a></li>
<li><a href="manual/configuration.html" title="Configuration"><span class="icon-chevron-right"></span>Configuration</a></li>
<li><a href="manual/usage.html" title="Usage"><span class="icon-chevron-right"></span>Usage</a></li>
<li><a href="manual/webapp.html" title="Web Applications and JSPs"><span class="icon-chevron-right"></span>Web Applications and JSPs</a></li>
<li><a href="manual/lookups.html" title="Lookups"><span class="icon-chevron-right"></span>Lookups</a></li>
<li><a href="manual/appenders.html" title="Appenders"><span class="icon-chevron-right"></span>Appenders</a></li>
<li><a href="manual/layouts.html" title="Layouts"><span class="icon-chevron-right"></span>Layouts</a></li>
<li><a href="manual/filters.html" title="Filters"><span class="icon-chevron-right"></span>Filters</a></li>
<li><a href="manual/async.html" title="Async Loggers"><span class="icon-chevron-right"></span>Async Loggers</a></li>
<li><a href="manual/garbagefree.html" title="Garbage-free Logging"><span class="icon-chevron-right"></span>Garbage-free Logging</a></li>
<li><a href="manual/jmx.html" title="JMX"><span class="none"></span>JMX</a></li>
<li><a href="manual/logsep.html" title="Logging Separation"><span class="none"></span>Logging Separation</a></li>
<li><a href="manual/extending.html" title="Extending Log4j"><span class="icon-chevron-right"></span>Extending Log4j</a></li>
<li><a href="manual/plugins.html" title="Plugins"><span class="icon-chevron-right"></span>Plugins</a></li>
<li><a href="manual/customconfig.html" title="Programmatic Log4j Configuration"><span class="icon-chevron-right"></span>Programmatic Log4j Configuration</a></li>
<li><a href="manual/customloglevels.html" title="Custom Log Levels"><span class="icon-chevron-right"></span>Custom Log Levels</a></li>
<li class="nav-header"><img class="imageLink" src="img/glyphicons/tag.png" alt="Related Projects" border="0"/> Related Projects</li>
<li><a href="http://logging.apache.org/log4j/scala/index.html" class="externalLink" title="Log4j-Scala"><span class="none"></span>Log4j-Scala</a></li>
<li class="nav-header"><img class="imageLink" src="img/glyphicons/link.png" alt="Legacy Sites" border="0"/> Legacy Sites</li>
<li><a href="http://logging.apache.org/log4j/1.2/" class="externalLink" title="Log4j 1.2 - End of Life"><span class="none"></span>Log4j 1.2 - End of Life</a></li>
<li><a href="http://logging.apache.org/log4j/log4j-2.3/" class="externalLink" title="Log4j 2.3 - Java 6"><span class="none"></span>Log4j 2.3 - Java 6</a></li>
<li><a href="http://logging.apache.org/log4j/log4j-2.12.1" class="externalLink" title="Log4j 2.12.1 - Java 7"><span class="none"></span>Log4j 2.12.1 - Java 7</a></li>
<li class="nav-header"><img class="imageLink" src="img/glyphicons/cog.png" alt="Components" border="0"/> Components</li>
<li><a href="log4j-api/index.html" title="API"><span class="none"></span>API</a></li>
<li><a href="log4j-core/index.html" title="Implementation"><span class="none"></span>Implementation</a></li>
<li><a href="log4j-jcl/index.html" title="Commons Logging Bridge"><span class="none"></span>Commons Logging Bridge</a></li>
<li><a href="log4j-1.2-api/index.html" title="Log4j 1.2 API"><span class="none"></span>Log4j 1.2 API</a></li>
<li><a href="log4j-slf4j-impl/index.html" title="SLF4J Binding"><span class="none"></span>SLF4J Binding</a></li>
<li><a href="log4j-jul/index.html" title="JUL Adapter"><span class="none"></span>JUL Adapter</a></li>
<li><a href="log4j-jpl/index.html" title="JDK Platform Logger"><span class="none"></span>JDK Platform Logger</a></li>
<li><a href="log4j-to-slf4j/index.html" title="Log4j 2 to SLF4J Adapter"><span class="none"></span>Log4j 2 to SLF4J Adapter</a></li>
<li><a href="log4j-flume-ng/index.html" title="Apache Flume Appender"><span class="none"></span>Apache Flume Appender</a></li>
<li><a href="log4j-taglib/index.html" title="Log4j Tag Library"><span class="none"></span>Log4j Tag Library</a></li>
<li><a href="log4j-jmx-gui/index.html" title="Log4j JMX GUI"><span class="none"></span>Log4j JMX GUI</a></li>
<li><a href="log4j-web/index.html" title="Log4j Web Application Support"><span class="none"></span>Log4j Web Application Support</a></li>
<li><a href="log4j-appserver/index.html" title="Log4j Application Server Integration"><span class="none"></span>Log4j Application Server Integration</a></li>
<li><a href="log4j-couchdb/index.html" title="Log4j CouchDB appender"><span class="none"></span>Log4j CouchDB appender</a></li>
<li><a href="log4j-mongodb2/index.html" title="Log4j MongoDB2 appender"><span class="none"></span>Log4j MongoDB2 appender</a></li>
<li><a href="log4j-mongodb3/index.html" title="Log4j MongoDB3 appender"><span class="none"></span>Log4j MongoDB3 appender</a></li>
<li><a href="log4j-cassandra/index.html" title="Log4j Cassandra appender"><span class="none"></span>Log4j Cassandra appender</a></li>
<li><a href="log4j-iostreams/index.html" title="Log4j IO Streams"><span class="none"></span>Log4j IO Streams</a></li>
<li><a href="log4j-liquibase/index.html" title="Log4j Liquibase Binding"><span class="none"></span>Log4j Liquibase Binding</a></li>
<li><a href="log4j-docker/index.html" title="Log4j Docker Support"><span class="none"></span>Log4j Docker Support</a></li>
<li><a href="log4j-spring-cloud-config/log4j-spring-cloud-config-client/index.html" title="Log4j Spring Cloud Config Client"><span class="none"></span>Log4j Spring Cloud Config Client</a></li>
<li class="nav-header"><img class="imageLink" src="img/glyphicons/info.png" alt="Project Information" border="0"/> Project Information</li>
<li><a href="dependency-convergence.html" title="Dependency Convergence"><span class="none"></span>Dependency Convergence</a></li>
<li><a href="dependency-management.html" title="Dependency Management"><span class="none"></span>Dependency Management</a></li>
<li><a href="team-list.html" title="Project Team"><span class="none"></span>Project Team</a></li>
<li><a href="mail-lists.html" title="Mailing Lists"><span class="none"></span>Mailing Lists</a></li>
<li><a href="issue-tracking.html" title="Issue Tracking"><span class="none"></span>Issue Tracking</a></li>
<li><a href="license.html" title="Project License"><span class="none"></span>Project License</a></li>
<li><a href="source-repository.html" title="Source Repository"><span class="none"></span>Source Repository</a></li>
<li><a href="project-summary.html" title="Project Summary"><span class="none"></span>Project Summary</a></li>
<li class="nav-header"><img class="imageLink" src="img/glyphicons/layers.png" alt="Project Reports" border="0"/> Project Reports</li>
<li><a href="changes-report.html" title="Changes Report"><span class="none"></span>Changes Report</a></li>
<li><a href="jira-report.html" title="JIRA Report"><span class="none"></span>JIRA Report</a></li>
<li><a href="rat-report.html" title="RAT Report"><span class="none"></span>RAT Report</a></li>
</ul>
</nav>
<div class="well sidebar-nav">
<hr />
<div id="poweredBy">
<div class="clear"></div>
<div class="clear"></div>
<div class="clear"></div>
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
</div>
</div>
</header>
<main id="bodyColumn" class="span10" >
<section>
<h2><a name="Log4j_Runtime_Dependencies"></a>Log4j Runtime Dependencies</h2>
<p>
Some Log4J features depend on external libraries. This page lists the required and optional
dependencies.
</p>
<p>
As of version 2.10.0 the Log4j API is a Java module (with a module-info.java). Many of the other
jars are automatic modules. The characteristics of the modules are:
</p>
<table border="0" class="table table-striped">
<tr class="a">
<th>Artifact Name</th>
<th>Module Name</th>
<th>Module Characteristics</th>
</tr>
<tr class="b">
<td>log4j-api</td>
<td>org.apache.logging.log4j</td>
<td>
<table border="0" class="table table-striped">
<tr class="a">
<th>Module Directive</th>
<th>Notes</th>
</tr>
<tr class="b">
<td>exports org.apache.logging.log4j</td>
<td></td>
</tr>
<tr class="a">
<td>exports org.apache.logging.log4j.message</td>
<td></td>
</tr>
<tr class="b">
<td>exports org.apache.logging.log4j.simple</td>
<td></td>
</tr>
<tr class="a">
<td>exports org.apache.logging.log4j.spi</td>
<td></td>
</tr>
<tr class="b">
<td>exports org.apache.logging.log4j.spi</td>
<td></td>
</tr>
<tr class="a">
<td>exports org.apache.logging.log4j.util</td>
<td>Some classes in this package are used by the logging implementation and should be
considered private. The module info definition may be modified in the future to export
these only to the logging implmentation.</td>
</tr>
<tr class="b">
<td>uses org.apache.logging.log4j.spi.Provider</td>
<td>Service that must be provided by the logging implementation.</td>
</tr>
</table>
</td>
</tr>
<tr class="a">
<td>log4j-appserver</td>
<td>org.apache.logging.log4j.appserver</td>
<td>Automatic Module</td>
</tr>
<tr class="b">
<td>log4j-cassandra</td>
<td>org.apache.logging.log4j.cassandra</td>
<td>Automatic Module</td>
</tr>
<tr class="a">
<td>log4j-core</td>
<td>org.apache.logging.log4j.core</td>
<td>Automatic Module</td>
</tr>
<tr class="b">
<td>log4j-couchdb</td>
<td>org.apache.logging.log4j.couchdb</td>
<td>Automatic Module</td>
</tr>
<tr class="a">
<td>log4j-docker</td>
<td>org.apache.logging.log4j.docker</td>
<td>Automatic Module</td>
</tr>
<tr class="b">
<td>log4j-1.2-api</td>
<td>org.apache.log4j</td>
<td>Automatic Module</td>
</tr>
<tr class="a">
<td>log4j-flume-ng</td>
<td>org.apache.logging.log4j.flume</td>
<td>Automatic Module</td>
</tr>
<tr class="b">
<td>log4j-iostreams</td>
<td>org.apache.logging.log4j.iostreams</td>
<td>Automatic Module</td>
</tr>
<tr class="a">
<td>log4j-jcl</td>
<td>org.apache.logging.log4j.jcl</td>
<td>Automatic Module</td>
</tr>
<tr class="b">
<td>log4j-jmx-gui</td>
<td>org.apache.logging.log4j.jmx.gui</td>
<td>Automatic Module</td>
</tr>
<tr class="a">
<td>log4j-jul</td>
<td>org.apache.logging.log4j.jul</td>
<td>Automatic Module</td>
</tr>
<tr class="b">
<td>log4j-mongodb</td>
<td>org.apache.logging.log4j.mongodb</td>
<td>Automatic Module</td>
</tr>
<tr class="a">
<td>log4j-osgi</td>
<td>org.apache.logging.log4j.osgi</td>
<td>Automatic Module. Unclear how OSGi will support Java modules.</td>
</tr>
<tr class="b">
<td>log4j-slf4j-impl</td>
<td>org.apache.logging.log4j.slf4j.impl</td>
<td>Automatic Module. May require renaming should SLF4J ever require all implementations to have the same
module name.</td>
</tr>
<tr class="a">
<td>log4j-taglib</td>
<td>org.apache.logging.log4j.taglib</td>
<td>Automatic Module</td>
</tr>
<tr class="b">
<td>log4j-to-slf4j</td>
<td>org.apache.logging.log4j.slf4j</td>
<td>Automatic Module</td>
</tr>
<tr class="a">
<td>log4j-web</td>
<td>org.apache.logging.log4j.web</td>
<td>Automatic Module</td>
</tr>
</table>
<p>
As of version 2.9.1 Log4j supports Java 9 but will still work in Java 7 or 8. In this version log4j-api is
packaged as a multi-release jar and supports the use of the StackWalker and Process APIs.
</p>
<p>
As of version 2.4, Log4J requires Java 7.
</p>
<p>
Log4j version 2.3 and older require Java 6.
</p>
<a name="log4j-api"></a>
<section><section>
<h4><a name="log4j-api"></a>log4j-api</h4>
<p>
The Log4J <a href="log4j-api/index.html">API</a> module has no external dependencies.
</p>
<a name="log4j-core"></a>
</section><section>
<h4><a name="log4j-core"></a>log4j-core</h4>
<p>
The Log4J <a href="log4j-core/index.html">Implementation</a> has several optional
<a href="log4j-core/dependencies.html">dependencies</a>.
See the <a href="log4j-core/dependencies.html#Dependency_Tree">Dependency Tree</a> for the
exact list of JAR files needed for these features.
</p>
<table border="0" class="table table-striped"><caption align="top">Optional Dependencies per Feature in Log4J Implementation</caption>
<tr class="a">
<th>Feature</th>
<th>Requirements</th>
</tr>
<tr class="b">
<td>XML configuration</td>
<td>-</td>
</tr>
<tr class="a">
<td>Properties configuration</td>
<td>-</td>
</tr>
<tr class="b">
<td>JSON configuration</td>
<td><a class="externalLink" href="https://github.com/FasterXML/jackson">Jackson core and databind</a></td>
</tr>
<tr class="a">
<td>YAML configuration</td>
<td><a class="externalLink" href="https://github.com/FasterXML/jackson">Jackson databind</a> and <a class="externalLink" href="https://github.com/FasterXML/jackson-dataformat-yaml">YAML data format</a></td>
</tr>
<tr class="b">
<td>CSV Layout</td>
<td><a class="externalLink" href="https://commons.apache.org/proper/commons-csv/">Apache Commons CSV</a></td>
</tr>
<tr class="a">
<td>JSON Layout</td>
<td><a class="externalLink" href="https://github.com/FasterXML/jackson">Jackson core and databind</a></td>
</tr>
<tr class="b">
<td>XML Layout</td>
<td><a class="externalLink" href="https://github.com/FasterXML/jackson">Jackson core, databind and dataformat XML</a><br />
And com.fasterxml.woodstox:woodstox-core:5.0.2</td>
</tr>
<tr class="a">
<td>YAML Layout</td>
<td><a class="externalLink" href="https://github.com/FasterXML/jackson">Jackson core, databind</a> and <a class="externalLink" href="https://github.com/FasterXML/jackson-dataformat-yaml">YAML data format</a></td>
</tr>
<tr class="b">
<td>Async Loggers</td>
<td><a class="externalLink" href="http://lmax-exchange.github.io/disruptor/">LMAX Disruptor</a></td>
</tr>
<tr class="a">
<td>Kafka Appender</td>
<td><a class="externalLink" href="http://kafka.apache.org/">Kafka client library</a>. Note that you need to use a version of
the Kafka client library matching the Kafka server used.</td>
</tr>
<tr class="b">
<td>SMTP Appender</td>
<td>an implementation of javax.mail</td>
</tr>
<tr class="a">
<td>JMS Appender</td>
<td>a JMS broker like <a class="externalLink" href="http://activemq.apache.org/">Apache ActiveMQ</a></td>
</tr>
<tr class="b">
<td>Windows console color support</td>
<td><a class="externalLink" href="http://jansi.fusesource.org/">Jansi</a></td>
</tr>
<tr class="a">
<td>JDBC Appender</td>
<td>a JDBC driver for the database you choose to write events to</td>
</tr>
<tr class="b">
<td>JPA Appender</td>
<td>the Java Persistence API classes, a JPA provider implementation, and a decorated
entity that the user implements. It also requires an appropriate JDBC driver
</td>
</tr>
<tr class="a">
<td>NoSQL Appender with MongoDB provider</td>
<td>MongoDB Java Client driver and Log4j MongoDB library</td>
</tr>
<tr class="b">
<td>NoSQL Appender with Apache CouchDB provider</td>
<td>LightCouch CouchDB client library and Log4j CouchDB library</td>
</tr>
<tr class="a">
<td>Cassandra Appender</td>
<td>Datastax Cassandra driver and Log4j Cassandra library</td>
</tr>
<tr class="b">
<td>Bzip2, Deflate, Pack200, and XZ compression on rollover</td>
<td><a class="externalLink" href="http://commons.apache.org/proper/commons-compress/">Apache Commons Compress</a>.
In addition, XZ requires <a class="externalLink" href="http://tukaani.org/xz/java.html">XZ for Java</a>.
</td>
</tr>
<tr class="a">
<td>ZeroMQ Appender</td>
<td>
The ZeroMQ appender uses the <a class="externalLink" href="https://github.com/zeromq/jeromq">JeroMQ</a> library which is
licensed under the terms of the Mozilla Public License Version 2.0 (MPLv2). For details see the
file <a class="externalLink" href="https://github.com/zeromq/jeromq/blob/master/LICENSE">LICENSE</a> included with the JeroMQ
distribution.
</td>
</tr>
</table>
<a name="log4j-docker"></a>
</section><section>
<h4><a name="log4j-docker"></a>log4j-docker</h4>
<p>
<a href="log4j-docker/index.html">Log4j Docker Support</a> requires
<a class="externalLink" href="https://github.com/FasterXML/jackson">Jackson annotations, core, and databind</a>. See the
<a href="log4j-docker/dependencies.html#Dependency_Tree">Dependency Tree</a> for the exact list of
JAR files needed.
</p>
<a name="log4j-jcl"></a>
</section><section>
<h4><a name="log4j-jcl"></a>log4j-jcl</h4>
<p>
The <a href="log4j-jcl/index.html">Commons Logging Bridge</a> requires
<a class="externalLink" href="http://commons.apache.org/proper/commons-logging/">Commons Logging</a>. See the
<a href="log4j-jcl/dependencies.html#Dependency_Tree">Dependency Tree</a> for the exact
list of JAR files needed.
</p>
<a name="log4j-1.2-api"></a>
</section><section>
<h4><a name="log4j-1.2-api"></a>log4j-1.2-api</h4>
<p>
The <a href="log4j-1.2-api/index.html">Log4j 1.2 Bridge</a> has no external dependencies.
This only requires the Log4j API. Including Log4j Core provides optional, extra functionality.
</p>
<a name="log4j-slf4j-impl"></a>
</section><section>
<h4><a name="log4j-slf4j-impl"></a>log4j-slf4j-impl</h4>
<p>
The Log4j 2 <a href="log4j-slf4j-impl/index.html">SLF4J Binding</a> depends on the
<a class="externalLink" href="http://www.slf4j.org/">SLF4J</a> API. See the
<a href="log4j-slf4j-impl/dependencies.html#Dependency_Tree">Dependency Tree</a> for the exact
list of JAR files needed.
</p>
<p class="text-warning">
<i></i>
<b><font color="red">
Do not use this with the <a href="#log4j-to-slf4j">log4j-to-slf4j</a> module.
</font></b>
</p>
<a name="log4j-jul"></a>
</section><section>
<h4><a name="log4j-jul"></a>log4j-jul</h4>
<p>
The Log4j 2 <a href="log4j-jul/index.html">Java Util Logging Adapter</a> has no external dependencies.
It optionally depends on the <a href="log4j-api/index.html">Log4j Core</a> library. The only required module
is the Log4j API.
</p>
<a name="log4j-to-slf4j"></a>
</section><section>
<h4><a name="log4j-to-slf4j"></a>log4j-to-slf4j</h4>
<p>
The <a href="log4j-to-slf4j/index.html">Log4j 2 to SLF4J Adapter</a> requires the
<a class="externalLink" href="http://www.slf4j.org/">SLF4J</a> API and an SLF4J implementation. See the
<a href="log4j-to-slf4j/dependencies.html#Dependency_Tree">Dependency Tree</a> for the exact list of JAR files needed.
</p>
<p class="text-warning">
<i></i>
<b><font color="red">
Do not use this with the <a href="#log4j-slf4j-impl">log4j-slf4j-impl</a> module.
</font></b>
</p>
<a name="log4j-flume-ng"></a>
</section><section>
<h4><a name="log4j-flume-ng"></a>log4j-flume-ng</h4>
<p>
The <a href="log4j-flume-ng/index.html">Flume Appender</a> requires
<a class="externalLink" href="http://flume.apache.org/">Apache Flume</a> and <a class="externalLink" href="http://avro.apache.org/">Apache Avro</a>.
The persistent agent uses Berkeley DB. See the
<a href="log4j-flume-ng/dependencies.html#Dependency_Tree">Dependency Tree</a> for the exact list of JAR files needed.
</p>
<a name="log4j-spring-cloud-config-client"></a>
</section><section>
<h4><a name="log4j-spring-cloud-config-client"></a>log4j-spring-cloud-config-client</h4>
<p>
<a href="log4j-spring-cloud-config/log4j-spring-cloud-config-client/index.html">Log4j Spring Cloud Config Client</a> requires
<a class="externalLink" href="https://spring.io/projects/spring-cloud-config">Spring Cloud Config</a>.
<a class="externalLink" href="https://spring.io/projects/spring-cloud-bus">Spring Cloud Bus</a> is required if notification of logging
configuration changes is desired. <a class="externalLink" href="https://spring.io/projects/spring-boot">Spring Boot</a> is required
but applications do not have to be packaged as a Spring Boot application.
<a href="log4j-spring-cloud-config/log4j-spring-cloud-config-client/dependencies.html#Dependency_Tree">Dependency Tree</a> for the exact list of
JAR files needed.
</p>
<a name="log4j-taglib"></a>
</section><section>
<h4><a name="log4j-taglib"></a>log4j-taglib</h4>
<p>
The Log4j <a href="log4j-taglib/index.html">Log Tag Library</a> requires the
<a class="externalLink" href="http://jakarta.apache.org/taglibs/log/">Jakarta Commons Log Taglib</a> and the Servlet API. See the
<a href="log4j-taglib/dependencies.html#Dependency_Tree">Dependency Tree</a> for the exact list of JAR files needed.
</p>
<a name="log4j-jmx-gui"></a>
</section><section>
<h4><a name="log4j-jmx-gui"></a>log4j-jmx-gui</h4>
<p>
The Log4j <a href="log4j-jmx-gui/index.html">JMX GUI</a> requires the JConsole jar when run as a JConsole plugin.
Otherwise it has no external dependencies. See the
<a href="log4j-jmx-gui/dependencies.html#Dependency_Tree">Dependency Tree</a> for the exact list of JAR files needed.
</p>
<a name="log4j-web"></a>
</section><section>
<h4><a name="log4j-web"></a>log4j-web</h4>
<p>
The Log4j <a href="log4j-web/index.html">Web</a> module requires the Servlet API. See the
<a href="log4j-web/dependencies.html#Dependency_Tree">Dependency Tree</a> for the exact list of JAR files needed.
Note that this works with the Servlet 2.5 API as well as the Servlet 3.x API.
</p>
<a name="log4j-couchdb"></a>
</section><section>
<h4><a name="log4j-couchdb"></a>log4j-couchdb</h4>
<p>
The Log4J <a href="log4j-couchdb/index.html">CouchDB</a> module depends on
the <a class="externalLink" href="http://www.lightcouch.org/">LightCouch</a> CouchDB client library.
</p>
<a name="log4j-mongodb"></a>
</section><section>
<h4><a name="log4j-mongodb"></a>log4j-mongodb</h4>
<p>
The Log4J <a href="log4j-mongodb/index.html">MongoDB</a> module depends on
the <a class="externalLink" href="http://docs.mongodb.org/ecosystem/drivers/java/">MongoDB Java Client driver</a>.
</p>
<a name="log4j-cassandra"></a>
</section><section>
<h4><a name="log4j-cassandra"></a>log4j-cassandra</h4>
<p>
The Log4J <a href="log4j-cassandra/index.html">Cassandra</a> module depends on
the <a class="externalLink" href="http://docs.datastax.com/en/developer/driver-matrix/doc/javaDrivers.html">Datastax Cassandra driver</a>.
</p>
<a name="log4j-iostreams"></a>
</section><section>
<h4><a name="log4j-iostreams"></a>log4j-iostreams</h4>
<p>
The Log4j <a href="log4j-iostreams/index.html">IO Streams</a> module has no external dependencies.
This only requires the Log4j API.
</p>
<a name="log4j-api-scala"></a>
</section><section>
<h4><a name="log4j-api-scala"></a>log4j-api-scala</h4>
<p>
The Log4j <a href="manual/scala-api.html">Scala API</a> requires Scala runtime library and reflection in
addition to the Log4j API.
</p>
</section></section></section>
</main>
</div>
</div>
<hr/>
<footer>
<div class="container-fluid">
<div class="row-fluid">
<p align="center">Copyright &copy; 1999-2020 <a class="external" href="http://www.apache.org">The Apache Software Foundation</a>. All Rights Reserved.<br>
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, and the Apache Logging project logo are trademarks of The Apache Software Foundation.</p>
</div>
</div>
</footer>
</body>
</html>