blob: 7f10622a130c98d337a8554ad8e9a71b55cc5cb8 [file] [log] [blame]
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 1.11.1 from target/generated-sources/site/asciidoc/_release-notes/_2.11.2.adoc at 2024-03-06
| Rendered using Apache Maven Fluido Skin 1.11.2
-->
<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.11.1" />
<title>Log4j &#x2013; </title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.11.2.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.11.2.min.js"></script>
</head>
<body class="topBarDisabled">
<div class="container-fluid">
<header>
<div id="banner">
<div class="pull-left"><a href="../../.." id="bannerLeft"><img src="../images/ls-logo.jpg" alt="" style="" /></a></div>
<div class="pull-right"><a href=".././" id="bannerRight"><img src="../images/logo.png" alt="" style="" /></a></div>
<div class="clear"><hr/></div>
</div>
<div id="breadcrumbs">
<ul class="breadcrumb">
<li id="publishDate">Last Published: 2024-03-06<span class="divider">|</span>
</li>
<li id="projectVersion">Version: 2.23.1</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="../../../" 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" style="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="../support.html" title="Support"><span class="none"></span>Support</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><a href="../release-notes.html" title="Release Notes"><span class="none"></span>Release Notes</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="icon-chevron-right"></span>Security</a></li>
<li class="nav-header"><img class="imageLink" src="../img/glyphicons/book.png" alt="Manual" style="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/api-separation.html" title="API Separation"><span class="none"></span>API Separation</a></li>
<li><a href="../manual/migration.html" title="Log4j 1.x Migration"><span class="icon-chevron-right"></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="../../kotlin" title="Kotlin API"><span class="none"></span>Kotlin API</a></li>
<li><a href="../../scala" 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/pencil.png" alt="For Contributors" style="border: 0;" /> For Contributors</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/cog.png" alt="Components" style="border: 0;" /> Components</li>
<li><a href="../log4j-api.html" title="API"><span class="none"></span>API</a></li>
<li><a href="../log4j-jcl.html" title="Commons Logging Bridge"><span class="none"></span>Commons Logging Bridge</a></li>
<li><a href="../log4j-1.2-api.html" title="Log4j 1.2 API"><span class="none"></span>Log4j 1.2 API</a></li>
<li><a href="../log4j-slf4j-impl.html" title="SLF4J Binding"><span class="none"></span>SLF4J Binding</a></li>
<li><a href="../log4j-jul.html" title="JUL Adapter"><span class="none"></span>JUL Adapter</a></li>
<li><a href="../log4j-jpl.html" title="JDK Platform Logger"><span class="none"></span>JDK Platform Logger</a></li>
<li><a href="../log4j-to-slf4j.html" title="Log4j 2 to SLF4J Adapter"><span class="none"></span>Log4j 2 to SLF4J Adapter</a></li>
<li><a href="../log4j-flume-ng.html" title="Apache Flume Appender"><span class="none"></span>Apache Flume Appender</a></li>
<li><a href="../log4j-taglib.html" title="Log4j Tag Library"><span class="none"></span>Log4j Tag Library</a></li>
<li><a href="../log4j-jmx-gui.html" title="Log4j JMX GUI"><span class="none"></span>Log4j JMX GUI</a></li>
<li><a href="../log4j-web.html" title="Log4j Web Application Support"><span class="none"></span>Log4j Web Application Support</a></li>
<li><a href="../log4j-jakarta-web.html" title="Log4j Jakarta Web Application Support"><span class="none"></span>Log4j Jakarta Web Application Support</a></li>
<li><a href="../log4j-appserver.html" title="Log4j Application Server Integration"><span class="none"></span>Log4j Application Server Integration</a></li>
<li><a href="../log4j-couchdb.html" title="Log4j CouchDB appender"><span class="none"></span>Log4j CouchDB appender</a></li>
<li><a href="../log4j-mongodb3.html" title="Log4j MongoDB3 appender"><span class="none"></span>Log4j MongoDB3 appender</a></li>
<li><a href="../log4j-mongodb4.html" title="Log4j MongoDB4 appender"><span class="none"></span>Log4j MongoDB4 appender</a></li>
<li><a href="../log4j-cassandra.html" title="Log4j Cassandra appender"><span class="none"></span>Log4j Cassandra appender</a></li>
<li><a href="../log4j-iostreams.html" title="Log4j IO Streams"><span class="none"></span>Log4j IO Streams</a></li>
<li><a href="../log4j-docker.html" title="Log4j Docker Support"><span class="none"></span>Log4j Docker Support</a></li>
<li><a href="../log4j-kubernetes.html" title="Log4j Kubernetes Support"><span class="none"></span>Log4j Kubernetes Support</a></li>
<li><a href="../log4j-spring-boot.html" title="Log4j Spring Boot"><span class="none"></span>Log4j Spring Boot</a></li>
<li><a href="../log4j-spring-cloud-config-client.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/tag.png" alt="Related Projects" style="border: 0;" /> Related Projects</li>
<li><a href="../../../chainsaw/2.x/index.html" title="Chainsaw"><span class="none"></span>Chainsaw</a></li>
<li><a href="../../../log4cxx/latest_stable/index.html" title="Log4Cxx"><span class="none"></span>Log4Cxx</a></li>
<li><a href="../../../log4j-audit/latest/index.html" title="Log4j Audit"><span class="none"></span>Log4j Audit</a></li>
<li><a href="../../kotlin" title="Log4j Kotlin"><span class="none"></span>Log4j Kotlin</a></li>
<li><a href="../../scala" title="Log4j Scala"><span class="none"></span>Log4j Scala</a></li>
<li><a href="../../transform" title="Log4j Transform"><span class="none"></span>Log4j Transform</a></li>
<li><a href="../../../log4net/index.html" title="Log4Net"><span class="none"></span>Log4Net</a></li>
<li class="nav-header"><img class="imageLink" src="../img/glyphicons/link.png" alt="Legacy Sites" style="border: 0;" /> Legacy Sites</li>
<li><a href="../../log4j-2.12.4/" title="Log4j 2.12.4 - Java 7"><span class="none"></span>Log4j 2.12.4 - Java 7</a></li>
<li><a href="../../log4j-2.3.2/" title="Log4j 2.3.2 - Java 6"><span class="none"></span>Log4j 2.3.2 - Java 6</a></li>
<li><a href="../../1.2/" title="Log4j 1.2 - End of Life"><span class="none"></span>Log4j 1.2 - End of Life</a></li>
<li class="nav-header"><img class="imageLink" src="../img/glyphicons/info.png" alt="Project Information" style="border: 0;" /> Project Information</li>
<li><a href="../team.html" title="Project Team"><span class="none"></span>Project Team</a></li>
<li><a href="https://www.apache.org/licenses/LICENSE-2.0" class="externalLink" title="Project License"><span class="none"></span>Project License</a></li>
<li><a href="https://github.com/apache/logging-log4j2" class="externalLink" title="Source Repository"><span class="none"></span>Source Repository</a></li>
<li><a href="../runtime-dependencies.html" title="Runtime Dependencies"><span class="none"></span>Runtime Dependencies</a></li>
<li><a href="../javadoc.html" title="Javadoc"><span class="none"></span>Javadoc</a></li>
<li><a href="../thanks.html" title="Thanks"><span class="none"></span>Thanks</a></li>
</ul>
</nav>
<div class="well sidebar-nav">
<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" >
<div class="sect1">
<h2 id="release-notes-2-11-2">2.11.2</h2>
<div class="sectionbody">
<div class="dlist">
<dl>
<dt class="hdlist1">Release date</dt>
<dd>
<p>2019-02-04</p>
</dd>
</dl>
</div>
<div class="paragraph">
<p>This release contains bugfixes and minor enhancements.</p>
</div>
<div class="paragraph">
<p>Due to a break in compatibility in the SLF4J binding, Log4j now ships with two versions of the SLF4J to Log4j adapters.
<code>log4j-slf4j-impl</code> should be used with SLF4J 1.7.x and earlier and <code>log4j-slf4j18-impl</code> should be used with SLF4J 1.8.x and later.</p>
</div>
<div class="paragraph">
<p>As of Log4j 2.9.0, the Log4j API was modified to use <code>java.util.ServiceLoader</code> to locate Log4j implementations, although the former binding mechanism is still supported.
The Log4j API JAR is now a multi-release JAR to provide implementations of Java 9 specific classes.
Multi-release JARs are not supported by the OSGi specification so OSGi modules will not be able to take advantage of these implementations but will not lose functionality as they will fall back to the implementations used in Java 7 and 8.
Applications using Spring Boot must add the Multi-Release header to the JAR manifest or the Java 9+ classes will be ignored.</p>
</div>
<div class="paragraph">
<p>More details on the new features and fixes are itemized below.
Note that some tools are not compatible with multi-release JARs and may fail trying to process class files in the <code>META-INF/versions/9</code> folder.
Those errors should be reported to the tool vendor.</p>
</div>
<div class="paragraph">
<p>Note that subsequent to the 2.9.0 release, for security reasons, Log4j does not process DTD in XML files.
If you used DTD for including snippets, you have to use XInclude or Composite Configuration instead.</p>
</div>
<div class="paragraph">
<p>Also subsequent to the 2.9.0 release, for security reasons, <code>SerializedLayout</code> is deprecated and no longer used as default in the Socket and JMS appenders.
<code>SerializedLayout</code> can still be used as before, but has to be specified explicitly.
To retain old behaviour, you have to change configuration like:</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Appenders&gt;
&lt;Socket name="socket" host="localhost" port="9500"/&gt;
&lt;/Appenders&gt;</code></pre>
</div>
</div>
<div class="paragraph">
<p>into:</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Appenders&gt;
&lt;Socket name="socket" host="localhost" port="9500"&gt;
&lt;SerializedLayout/&gt;
&lt;/Socket&gt;
&lt;/Appenders&gt;</code></pre>
</div>
</div>
<div class="paragraph">
<p>We do, however, discourage the use of <code>SerializedLayout</code> and recommend <code>JsonLayout</code> as a replacement:</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Appenders&gt;
&lt;Socket name="socket" host="localhost" port="9500"&gt;
&lt;JsonLayout properties="true"/&gt;
&lt;/Socket&gt;
&lt;/Appenders&gt;</code></pre>
</div>
</div>
<div class="paragraph">
<p>Note that the XML, JSON and YAML formats changed in the 2.11.0 release: they no longer have the <code>timeMillis</code> attribute and instead have an <code>Instant</code> element with <code>epochSecond</code> and <code>nanoOfSecond</code> attributes.</p>
</div>
<div class="paragraph">
<p>The Log4j 2.11.2 API, as well as many core components, maintains binary compatibility with previous releases.</p>
</div>
<div class="paragraph">
<p>Log4j 2.11.2 requires a minimum of Java 7 to build and run.
Log4j 2.3 was the last release that supported Java 6.</p>
</div>
<div class="paragraph">
<p>Basic compatibility with Log4j 1.x is provided through the <code>log4j-1.2-api</code> component, however it does
not implement some of the very implementation specific classes and methods.
The package names and Maven <code>groupId</code> have been changed to <code>org.apache.logging.log4j</code> to avoid any conflicts with Log4j 1.x.</p>
</div>
<div class="paragraph">
<p>For complete information on Apache Log4j 2, including instructions on how to submit bug reports, patches, or suggestions for improvement, see <a href="http://logging.apache.org/log4j/2.x/">the Apache Log4j 2 website</a>.</p>
</div>
<div class="sect2">
<h3 id="release-notes-2-11-2-added">Added</h3>
<div class="ulist">
<ul>
<li>
<p>PatternLayout %date conversion pattern should render time zone designator for ISO-ISO8601. (<a href="https://issues.apache.org/jira/browse/LOG4J2-1246">LOG4J2-1246</a>)</p>
</li>
<li>
<p>JDBC Appender should reconnect to the database when a connection goes stale. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2496">LOG4J2-2496</a>)</p>
</li>
<li>
<p>Let JDBC PoolingDriverConnectionSource with Apache Commons DBCP configure a PoolableConnectionFactory. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2505">LOG4J2-2505</a>)</p>
</li>
<li>
<p>Allow a JDBC Appender to truncate strings to match a table&#8217;s metadata column length limit. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2509">LOG4J2-2509</a>)</p>
</li>
</ul>
</div>
</div>
<div class="sect2">
<h3 id="release-notes-2-11-2-changed">Changed</h3>
<div class="ulist">
<ul>
<li>
<p>Switch from CLIRR to RevAPI for detecting API changes. (<a href="https://issues.apache.org/jira/browse/LOG4J2-1576">LOG4J2-1576</a>)</p>
</li>
<li>
<p>Improve exception logging performance. ThrowableProxy construction uses a faster method to discover the current stack trace. ThrowablePatternConverter and ExtendedThrowablePatternConverter default configurations no longer allocate an additional buffer for stack trace contents. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2391">LOG4J2-2391</a>)</p>
</li>
<li>
<p>Better handling of %highlight pattern when using jul-bridge. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2405">LOG4J2-2405</a>)</p>
</li>
<li>
<p>Let the NullAppender default its name to "null". (<a href="https://issues.apache.org/jira/browse/LOG4J2-2447">LOG4J2-2447</a>)</p>
</li>
<li>
<p>Update Jackson from 2.9.6 to 2.9.7. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2468">LOG4J2-2468</a>)</p>
</li>
<li>
<p>Update Apache Commons Compress from 1.17 to 1.18. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2469">LOG4J2-2469</a>)</p>
</li>
<li>
<p>Update Apache Commons CSV from 1.5 to 1.6. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2470">LOG4J2-2470</a>)</p>
</li>
<li>
<p>Update javax.mail from 1.6.1 to 1.6.2. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2471">LOG4J2-2471</a>)</p>
</li>
<li>
<p>Update mongo-java-driver 3 from 3.8.0 to 3.8.2. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2472">LOG4J2-2472</a>)</p>
</li>
<li>
<p>JDBC Appender should release parameter resources ASAP. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2489">LOG4J2-2489</a>)</p>
</li>
<li>
<p>Allow all Appenders to optionally carry a Property array. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2491">LOG4J2-2491</a>)</p>
</li>
<li>
<p>Update MongoDB driver from 3.8.2 to 3.9.0 for log4j-mongodb3 module. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2503">LOG4J2-2503</a>)</p>
</li>
</ul>
</div>
</div>
<div class="sect2">
<h3 id="release-notes-2-11-2-fixed">Fixed</h3>
<div class="ulist">
<ul>
<li>
<p>Logging with a lambda expression with a method call that also logs would cause logs within method call to reference line num and method name of the parent method. (<a href="https://issues.apache.org/jira/browse/LOG4J2-1570">LOG4J2-1570</a>)</p>
</li>
<li>
<p>Fixed Appenders section in Extending Log4j. (<a href="https://issues.apache.org/jira/browse/LOG4J2-1571">LOG4J2-1571</a>)</p>
</li>
<li>
<p>Direct write was creating files with the wrong date/time. (<a href="https://issues.apache.org/jira/browse/LOG4J2-1906">LOG4J2-1906</a>)</p>
</li>
<li>
<p>Expose LoggerContext.setConfiguration as a public method. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2009">LOG4J2-2009</a>)</p>
</li>
<li>
<p>Use the file pattern as the FileManager "name" when no filename is present. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2061">LOG4J2-2061</a>)</p>
</li>
<li>
<p>StackOverflowError at AwaitCompletionReliabilityStrategy. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2134">LOG4J2-2134</a>)</p>
</li>
<li>
<p>Fix memory leak in ReusableParameterizedMessage. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2201">LOG4J2-2201</a>)</p>
</li>
<li>
<p>Load PropertySources from any accessible ClassLoader. Hide any exceptions that may occur accessing a PropertySource. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2266">LOG4J2-2266</a>)</p>
</li>
<li>
<p>ReusableObjectMessage parameter is properly passed to appenders (#203). (<a href="https://issues.apache.org/jira/browse/LOG4J2-2363">LOG4J2-2363</a>)</p>
</li>
<li>
<p>NameAbbreviator correctly abbreviates first fragments (#188). (<a href="https://issues.apache.org/jira/browse/LOG4J2-2365">LOG4J2-2365</a>)</p>
</li>
<li>
<p>Pre-deployment of PersistenceUnit that using Log4j as session logger failed (#198). (<a href="https://issues.apache.org/jira/browse/LOG4J2-2397">LOG4J2-2397</a>)</p>
</li>
<li>
<p>Exceptions are added to all columns when a JDBC Appender&#8217;s ColumnMapping uses a Pattern. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2413">LOG4J2-2413</a>)</p>
</li>
<li>
<p>NullPointerException when closing never used RollingRandomAccessFileAppender. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2418">LOG4J2-2418</a>)</p>
</li>
<li>
<p>Handle some unchecked exceptions while loading plugins. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2422">LOG4J2-2422</a>)</p>
</li>
<li>
<p>Setting a null ErrorHandler on AbstractAppender is not allowed and will no-op as expected. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2441">LOG4J2-2441</a>)</p>
</li>
<li>
<p>ErrorHandler is invoked with a LogEvent and Throwable when possible, where previously only a string was used. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2444">LOG4J2-2444</a>)</p>
</li>
<li>
<p>Add Log4j-slf4j18-impl dependency to BOM POM. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2453">LOG4J2-2453</a>)</p>
</li>
<li>
<p>RollingRandomAccessFileManager ignores new file patterns from programmatic reconfiguration. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2457">LOG4J2-2457</a>)</p>
</li>
<li>
<p>ColumnMapping literal not working. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2466">LOG4J2-2466</a>)</p>
</li>
<li>
<p>org.apache.log4j.SimpleLayout and ConsoleAppender missing in log4j-1.2-api. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2476">LOG4J2-2476</a>)</p>
</li>
<li>
<p>AbstractStringLayoutStringEncodingBenchmark returns the computed variables on each benchmark to avoid DCE. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2478">LOG4J2-2478</a>)</p>
</li>
<li>
<p>Avoid NullPointerExceptions in org.apache.logging.log4j.core.config.AbstractConfiguration for null arguments. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2481">LOG4J2-2481</a>)</p>
</li>
<li>
<p>BasicContextSelector cannot be used in a OSGI application. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2482">LOG4J2-2482</a>)</p>
</li>
<li>
<p>SizeBasedTriggeringPolicy was not honored when using the DirectWriteRolloverStrategy if the machine restarts. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2485">LOG4J2-2485</a>)</p>
</li>
<li>
<p>JmsAppender reconnectIntervalMillis cannot be set from a configuration file. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2497">LOG4J2-2497</a>)</p>
</li>
<li>
<p>JMS Appender may throw a NullPointerException when JMS is not up while the Appender is starting. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2499">LOG4J2-2499</a>)</p>
</li>
<li>
<p>Document that Properties element must be the first configuration element. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2500">LOG4J2-2500</a>)</p>
</li>
<li>
<p>JDBC Appender fails when using both parameter, source, and literal ColumnMapping elements. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2508">LOG4J2-2508</a>)</p>
</li>
<li>
<p>Make Strings.toRootUpperCase a static method so it can be accessed. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2514">LOG4J2-2514</a>)</p>
</li>
<li>
<p>Configuration documentation referenced incorrect method name. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2515">LOG4J2-2515</a>)</p>
</li>
<li>
<p>Fix regression using MapMessageLookup.lookup with MapMessages that do not implement StringMapMessage. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2522">LOG4J2-2522</a>)</p>
</li>
<li>
<p>Prevent ConcurrentModificationException while iterating over ListAppender events. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2527">LOG4J2-2527</a>)</p>
</li>
<li>
<p>Generalize checks using MapMessage implementations with do not extend StringMapMessage. Introduce new JAVA_UNQUOTED MapMessage format type based on the JAVA formatting, but without quoted values. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2530">LOG4J2-2530</a>)</p>
</li>
<li>
<p>Fix a regression introduced by LOG4J2-2301 in 2.11.1 allowing allocation to occur in AsyncLoggerConfig. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2533">LOG4J2-2533</a>)</p>
</li>
<li>
<p>CronTriggeringPolicy was not rolling properly, especially when used with the SizeBasedTriggeringPolicy. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2542">LOG4J2-2542</a>)</p>
</li>
<li>
<p>Add Log4j-to-SLF4J to BOM pom.xml. (<a href="https://issues.apache.org/jira/browse/LOG4J2-2543">LOG4J2-2543</a>)</p>
</li>
</ul>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<hr/>
<footer>
<div class="container-fluid">
<div class="row-fluid">
<p align="center">Copyright &copy; 1999-2024 <a class="external" href="https://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>
<script>
if(anchors) {
anchors.add();
}
</script>
</body>
</html>