forked from apache/logging-log4j2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RELEASE-NOTES.txt
51 lines (38 loc) · 2.9 KB
/
RELEASE-NOTES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Apache Log4j 2.0-beta1 RELEASE NOTES
The Apache Log4j 2 team is pleased to announce the Log4j 2.0-beta1 release!
Apache Log4j 2.0-beta1 requires a minimum of Java 5 to build and run. Basic compatibility with
Log4j 1.x is provided through the log4j12-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.
Bug fixes and enhancements
Changes in this version include:
New features:
o Added AsynchAppender.
Fixed Bugs:
o LOG4J-81: PatternLayout was not honoring format modifiers.
o Created web module to allow web applications to include the Log4j context listener in WEB-INF/lib even if
Log4j is in the container's class path. Allow locating the LoggerContext to include the ClassLoader. Updated
the Loader utility to always choose the child ClassLoader. Verified in Jboss 5 and Tomcat.
o LOG4J2-82: MarkerFilter called MarkerManager.getMarker causing the Marker to be created during the processing of the
configuration. This prevents the application from creating the Marker with any parents. MarkerWrapper in
SLF4J-impl was getting a ClassCastException in instanceOf because the Marker isn't a MarkerWrapper.
o LOG4J2-80: Allow Log4j 2 to be used as the implementation with SLF4J and SLF4J's jcl-over-slf4j by adding filtering
to the log method in SLF4JLogger. Thanks to Oliver Lamy.
o LOG4J2-78: LogFactoryImpl.setAttribute in the Commons Logging bridge got a NullPointerException when passed a null value.
It will now remove the attribute.
o LOG4J2-77: RoutingAppender was calling the stop method for each of its referenced Appenders and was calling
the stop method of the default Appender a second time. It will now only call the stop method of
Appenders it creates.
o LOG4J2-76: RewriteAppender was calling the stop method of the referenced appender causing the referenced appender's
manager to have its use count decremented too many times.
o LOG4J2-74: Logger.error(Marker, Message, Throwable) was internally using Level.TRACE.
o LOG4J2-75: Enhanced Log4jContextListener to accept a configuration file location. Modified FileConfigurationMonitor
to monitor files configured that way. Fixed other reconfiguration related bugs. Tested in JBoss and
Tomcat.
o LOG4J2-72: NullPointerException in RollingFileManager when filePattern does not cause the file to be compressed.
o LOG4J2-71: FileRenameAction did not create the parent directories of the archive files causing the rollover to fail.
Changes:
o Update the versions of SLF4J and Logback.
For complete information on Apache Log4j 2, including instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Apache Log4j 2 website:
http://logging.apache.org/log4j/2.x/