////
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License.  You may obtain a copy of the License at

         https://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
////

////
    ██     ██  █████  ██████  ███    ██ ██ ███    ██  ██████  ██
    ██     ██ ██   ██ ██   ██ ████   ██ ██ ████   ██ ██       ██
    ██  █  ██ ███████ ██████  ██ ██  ██ ██ ██ ██  ██ ██   ███ ██
    ██ ███ ██ ██   ██ ██   ██ ██  ██ ██ ██ ██  ██ ██ ██    ██
     ███ ███  ██   ██ ██   ██ ██   ████ ██ ██   ████  ██████  ██

    IF THIS FILE DOESN'T HAVE A `.ftl` SUFFIX, IT IS AUTO-GENERATED, DO NOT EDIT IT!

    Version-specific release notes (`7.8.0.adoc`, etc.) are generated from `src/changelog/*/.release-notes.adoc.ftl`.
    Auto-generation happens during `generate-sources` phase of Maven.
    Hence, you must always

    1. Find and edit the associated `.release-notes.adoc.ftl`
    2. Run `./mvnw generate-sources`
    3. Commit both `.release-notes.adoc.ftl` and the generated `7.8.0.adoc`
////

[#release-notes-2-0-beta9]
== 2.0-beta9

Release date:: 2013-09-14


=== Added

* Added FAQ page to the site. (https://issues.apache.org/jira/browse/LOG4J2-253[LOG4J2-253])
* Ease porting from 1.x Logger.getRootLogger(): add LogManager.getRootLogger(). (https://issues.apache.org/jira/browse/LOG4J2-305[LOG4J2-305])
* Add JNDILookup plugin. (https://issues.apache.org/jira/browse/LOG4J2-313[LOG4J2-313])
* Add TLSAppender. Also added missing license headers to several files. (https://issues.apache.org/jira/browse/LOG4J2-338[LOG4J2-338])
* Enable XInclude for XML configurations. (https://issues.apache.org/jira/browse/LOG4J2-341[LOG4J2-341])
* Create a JSON Layout. (https://issues.apache.org/jira/browse/LOG4J2-356[LOG4J2-356])
* Allow Plugins to have aliases. (https://issues.apache.org/jira/browse/LOG4J2-360[LOG4J2-360])
* Add a diagram to the site (FAQ page) that explains when to use which jar. (https://issues.apache.org/jira/browse/LOG4J2-362[LOG4J2-362])
* Add WebLookup to retrieve information from the ServletContext. (https://issues.apache.org/jira/browse/LOG4J2-364[LOG4J2-364])
* Add more options to PatternLayout to display more detailed information about a Throwable. (https://issues.apache.org/jira/browse/LOG4J2-374[LOG4J2-374])
* [Pattern Layout] Customize level names by length. (https://issues.apache.org/jira/browse/LOG4J2-383[LOG4J2-383])
* [Pattern Layout] Customize level names to lower-case. (https://issues.apache.org/jira/browse/LOG4J2-384[LOG4J2-384])
* Allow the default file rollover strategy to define the compression level. (https://issues.apache.org/jira/browse/LOG4J2-399[LOG4J2-399])

=== Changed

* Changed the (relatively new) PatternLayout configuration attribute "suppressExceptions" to "alwaysWriteExceptions" to more correctly indicate what it does. As such, the meaning of this attribute has reversed (previous "true"s should become "false"s, and vice versa). Since this was an undocumented attribute up until now, it's unlikely this change will affect any users.
* Changed the "suppressExceptions" configuration attribute for all Appenders to "ignoreExceptions" to avoid confusion with Java 7 suppressed exceptions. Also renamed the Appender#isExceptionSuppressed() method to Appender#ignoreExceptions() to avoid the same confusion. All Appenders by default internally log and then ignore exceptions encountered while logging. Setting "ignoreExceptions" to "false" on an Appender causes it to allow exceptions to propagate to the caller. You must set "ignoreExceptions" to "false" for Appenders you are wrapping in the Failover Appender.
* Cleaned up tests and cleared up documentation for the JPA appender following the resolution of EclipseLink issue #412454.
* Improved site by adding quick jump-off page and menu for Javadoc links for all components.
* Update JSON Jackson library to 2.2.2 from 2.2.1. (https://issues.apache.org/jira/browse/LOG4J2-306[LOG4J2-306])
* Updated Async Loggers' LMAX Disruptor library from 3.0.1 to 3.2.0. (https://issues.apache.org/jira/browse/LOG4J2-307[LOG4J2-307])
* Clarified which library versions were used in Async Loggers performance test. (https://issues.apache.org/jira/browse/LOG4J2-308[LOG4J2-308])
* XML layout improvements (compact vs. pretty, namespace, namespace prefix, root element). (https://issues.apache.org/jira/browse/LOG4J2-312[LOG4J2-312])
* Renamed FastFileAppender and FastRollingFileAppender to RandomAccessFileAppender and RollingRandomAccessFileAppender. Configurations using the Fast(Rolling)File element no longer work and should be modified to use the (Rolling)RandomAccessFile element. (https://issues.apache.org/jira/browse/LOG4J2-317[LOG4J2-317])
* Allow shutdown hook to be disabled in the configuration. (https://issues.apache.org/jira/browse/LOG4J2-318[LOG4J2-318])
* Update JDBC tests to use H2 database 1.3.173 from 1.3.172. (https://issues.apache.org/jira/browse/LOG4J2-325[LOG4J2-325])
* Add support for multiple SD-ELEMENTs in an RFC 5424 syslog message. (https://issues.apache.org/jira/browse/LOG4J2-355[LOG4J2-355])
* Update commons-logging to 1.1.3 from 1.1.1. (https://issues.apache.org/jira/browse/LOG4J2-366[LOG4J2-366])
* Update Jackson dependency to 1.9.13 from 1.9.11. (https://issues.apache.org/jira/browse/LOG4J2-387[LOG4J2-387])
* Update Java Mail dependency to 1.5.0 from 1.4.7. (https://issues.apache.org/jira/browse/LOG4J2-388[LOG4J2-388])
* Update HSQLDB dependency to 2.3.0 from 2.2.9. (https://issues.apache.org/jira/browse/LOG4J2-390[LOG4J2-390])

=== Fixed

* The slf4j-ext jar is now an optional dependency of the SLF4J bridge. (https://issues.apache.org/jira/browse/LOG4J2-165[LOG4J2-165])
* RoutingAppender's default Route can now be an appender reference. (https://issues.apache.org/jira/browse/LOG4J2-166[LOG4J2-166])
* ThrowableProxy no longer extends Throwable. (https://issues.apache.org/jira/browse/LOG4J2-216[LOG4J2-216])
* Fix table of contents generation in pdf. (https://issues.apache.org/jira/browse/LOG4J2-226[LOG4J2-226])
* Additional fix to make AsyncAppender threads daemon threads and improve their thread name. (https://issues.apache.org/jira/browse/LOG4J2-280[LOG4J2-280])
* Fixed JDBC, JPA, and NoSQL appenders so that the failover appender properly fails over on error. (https://issues.apache.org/jira/browse/LOG4J2-291[LOG4J2-291])
* Changed the ConfigurationFactory to recognize and properly use the classpath: URI scheme in addition to the classloader: URI scheme. (https://issues.apache.org/jira/browse/LOG4J2-293[LOG4J2-293])
* Reset the Configuration if the ClassLoaderContextSelector creates a LoggerContext without a configuration location and then is later provided one. (https://issues.apache.org/jira/browse/LOG4J2-293[LOG4J2-293])
* Add getThrowable method to ThrowableProxy. (https://issues.apache.org/jira/browse/LOG4J2-299[LOG4J2-299])
* Fixed Async Loggers memory leak. (https://issues.apache.org/jira/browse/LOG4J2-304[LOG4J2-304])
* Insure jars and distributions only have a single License and Notice file. (https://issues.apache.org/jira/browse/LOG4J2-309[LOG4J2-309])
* Fixed issue where SMTPAppender did not send mails with error or fatal level without prior info event. (https://issues.apache.org/jira/browse/LOG4J2-310[LOG4J2-310])
* Synchronized flush() and close() methods in the XxxFileManager and OutputStreamManager classes. (https://issues.apache.org/jira/browse/LOG4J2-311[LOG4J2-311])
* Double stack trace logging when using %throwable in %style and %highlight. (https://issues.apache.org/jira/browse/LOG4J2-319[LOG4J2-319])
* JPAAppender stops logging because META-INF/log4j-provider.properties is left open. (https://issues.apache.org/jira/browse/LOG4J2-320[LOG4J2-320])
* Centralized reflective use of Reflection#getCallerClass and properly handled its instability in various versions of Java. (https://issues.apache.org/jira/browse/LOG4J2-322[LOG4J2-322])
* FlumePersistentManager was calling Berkeley DB's count method too frequently. (https://issues.apache.org/jira/browse/LOG4J2-328[LOG4J2-328])
* StatusLogger now only creates StatusData objects if they are the appropriate logging level. (https://issues.apache.org/jira/browse/LOG4J2-329[LOG4J2-329])
* Added a BSON Transformer so that MongoDB can persist Log4j events. (https://issues.apache.org/jira/browse/LOG4J2-330[LOG4J2-330])
* Removed erroneous check for affected MongoDB records, which always returns zero on inserts. (https://issues.apache.org/jira/browse/LOG4J2-331[LOG4J2-331])
* Modified documentation to refer to SLF4J Binding instead of SLF4J Bridge. (https://issues.apache.org/jira/browse/LOG4J2-332[LOG4J2-332])
* Match artifact ids with Maven module names. (https://issues.apache.org/jira/browse/LOG4J2-333[LOG4J2-333])
* FlumePersistentManager's writer thread had high CPU usage. (https://issues.apache.org/jira/browse/LOG4J2-335[LOG4J2-335])
* AsyncLogger errors after multiple calls to LoggerContext.reconfigure(). (https://issues.apache.org/jira/browse/LOG4J2-336[LOG4J2-336])
* Ignore xml:base attributes. (https://issues.apache.org/jira/browse/LOG4J2-342[LOG4J2-342])
* Removed unnecessary generics from Appender interface and implementing classes. (https://issues.apache.org/jira/browse/LOG4J2-343[LOG4J2-343])
* Give the AsyncAppender thread a more descriptive name for easier debugging/profiling. (https://issues.apache.org/jira/browse/LOG4J2-347[LOG4J2-347])
* [OSGi] wrong Fragment-Host in manifest files. (https://issues.apache.org/jira/browse/LOG4J2-351[LOG4J2-351])
* NoSQLAppender using MongoDB provider ignores username and password attributes (https://issues.apache.org/jira/browse/LOG4J2-358[LOG4J2-358])
* Changed the Servlet 3.0 auto-initializer so that it does nothing in a Servlet 2.5 or older application. This ensures behavioral consistency across containers. (https://issues.apache.org/jira/browse/LOG4J2-359[LOG4J2-359])
* JMS appenders send two messages for one append. (https://issues.apache.org/jira/browse/LOG4J2-367[LOG4J2-367])
* Add PatternLayout constructor to Log4j 1.2 bridge for Velocity. (https://issues.apache.org/jira/browse/LOG4J2-368[LOG4J2-368])
* Use rollover date when substituting ${date} in the filePattern. (https://issues.apache.org/jira/browse/LOG4J2-380[LOG4J2-380])
* FlumePersistentManager now handles LockConflictExceptions in Berkeley Db. (https://issues.apache.org/jira/browse/LOG4J2-391[LOG4J2-391])
* Initialize PluginManager once during configuration. Move advertisement setup into BaseConfiguration. (https://issues.apache.org/jira/browse/LOG4J2-393[LOG4J2-393])
* Allow classpath scheme when specifying configuration file location as a system property. (https://issues.apache.org/jira/browse/LOG4J2-395[LOG4J2-395])
* Logger.info(Message) Javadoc is incorrect. (https://issues.apache.org/jira/browse/LOG4J2-397[LOG4J2-397])
