////
    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.
////

= 2.0.2 (2014-08-16)

This is the third GA release which contains several bugfixes from the previous release.

Apache Log4j 2.0.2 requires a minimum of Java 6 to build and run.
Basic compatibility with Log4j 1.x is provided through the `log4j-1.2-api` component, however it does
not implement some of the very implementation specific classes and methods.
The package names and Maven `groupId` have been changed to `org.apache.logging.log4j` to avoid any conflicts with Log4j 1.x.

For complete information on Apache Log4j 2, including instructions on how to submit bug reports, patches, or suggestions for improvement, see http://logging.apache.org/log4j/2.x/[the Apache Log4j 2 website].


[#release-notes-2-0-2-changed]
=== Changed

* Allow Log4jContextFactory subclasses to specify a custom ContextSelector. (https://issues.apache.org/jira/browse/LOG4J2-730[LOG4J2-730])
* Update Apache Flume to 1.5.0.1 from 1.5.0. (https://issues.apache.org/jira/browse/LOG4J2-775[LOG4J2-775])

[#release-notes-2-0-2-fixed]
=== Fixed

* Resolved race condition that caused log file rotation to fail with error: "Unable to create directory ..." (https://issues.apache.org/jira/browse/LOG4J2-679[LOG4J2-679])
* Clarified in documentation that Commons Logging jar is required when using log4j-jcl. (https://issues.apache.org/jira/browse/LOG4J2-722[LOG4J2-722])
* Clarified in documentation that SLF4J API jar is required when using log4j-slf4j-impl. (https://issues.apache.org/jira/browse/LOG4J2-723[LOG4J2-723])
* Prevent application from hanging when PatternLayout configuration has opening '{' but no closing '}'. (https://issues.apache.org/jira/browse/LOG4J2-726[LOG4J2-726])
* Emit warning message to console if no configuration file found. (https://issues.apache.org/jira/browse/LOG4J2-729[LOG4J2-729])
* Prevent JUnit test from creating unnecessary Log4j2Plugins.dat during build. (https://issues.apache.org/jira/browse/LOG4J2-756[LOG4J2-756])
* Fixed various minor site/documentation issues, mostly versioning related. (https://issues.apache.org/jira/browse/LOG4J2-759[LOG4J2-759])
* Documentation improvement: link to dependency tree from log4j-core component page, link to log4j-core component page from FAQ page. (https://issues.apache.org/jira/browse/LOG4J2-760[LOG4J2-760])
* Improved asynchronous loggers and appenders to ensure the formatted message does not change even if parameters are modified by the application. (ParameterizedMessage was already safe.) Improved documentation. (https://issues.apache.org/jira/browse/LOG4J2-763[LOG4J2-763])
* Improve warning message when missing log4j-core in the classpath. (https://issues.apache.org/jira/browse/LOG4J2-765[LOG4J2-765])
* Startup takes a long time if you have empty packages attribute. (https://issues.apache.org/jira/browse/LOG4J2-769[LOG4J2-769])
* Site: log4j-core component pages were still using the old logo. (https://issues.apache.org/jira/browse/LOG4J2-773[LOG4J2-773])
