新特性:
o LOG4J2-941:? Allow JSON layout to create one compact log record per line. Thanks to Konstantinos
Liakos.
o LOG4J2-933:? HTML layout should not use attribute minimalization for hr noshade. Thanks
to ppiman at gmail.com .
o LOG4J2-895:? Specify the SyslogAppender connect timeout value as part of the configuration.
The SyslogAppender takes a new parameter connectTimeoutMillis.
o LOG4J2-899:? Specify the SocketAppender connect timeout value as part of the configuration.
The SyslogAppender takes a new parameter connectTimeoutMillis.
Bugs 修复:
o LOG4J2-938:? (JMX) To avoid memory leaks when web applications are restarted, JMX notifications
are sent from
the caller thread in web applications. For non-web applications notifications are
sent from a background thread
as before. Thanks to Mauro Molinari.
o LOG4J2-957:? Missing toUpperCase("Locale.ENGLISH"). Thanks to fatih guleryuz.
o LOG4J2-956:? Manual refers to Route "AppenderRef" attribute, should be "ref". Thanks to
David Kellerman.
o LOG4J2-944:? Log4j Flume appender is not adding millisecond to the event headers when the
event is logged at 000 milliseconds. Thanks to Vinayaka Ramachandra.
o LOG4J2-924:? Log4j 1.2 Bridge doesn't map level ALL correctly in Category.getEffectiveLevel().
Thanks to Ryan Rupp.
o LOG4J2-931:? ConsoleAppender is missing @PluginFactory annotation at createAppender method.
Thanks to Robert Gacki.
o LOG4J2-919:? Logging system fails to initialize if XInclude API is not available. Thanks
to David Johle.
o LOG4J2-914:? ThrowableProxy.getExtendedStackTraceAsString causes NullpointerException. Thanks
to Kaj Bjurman.
o LOG4J2-912:? XML configuration does not report full error message for XInclude parser configuration
problems.
o LOG4J2-903:?> Molinari.
o LOG4J2-834:? ThrowableProxy throws NoClassDefFoundError. Thanks to Nikita Koval, Leonard
Broman, Thiago Kronig.
o LOG4J2-893:? NullPointerException on filter when mapping JUL to Log4j2.
o LOG4J2-892:? JUL adapter does not map Log4j'2 FATAL level to a JUL level.
o LOG4J2-881:? AbstractLifecycle should not implement equals() and hashCode(). Thanks to Mariano
Gonzalez.
o LOG4J2-897:? Javadoc for org.apache.log4j.BasicConfigurator.configure() is incorrect.
o LOG4J2-891:? AbstractLifecycle should not implement equals() and hashCode().
o LOG4J2-946:? [docs] Using Log4j 2 in Web Applications: Update example (Log4jWebLifeCycle
is not visible). Thanks to artemonster.
功能改进:
o LOG4J2-955:? Documentation: clarify system properties to control status logger, improve
troubleshooting FAQ entry.
o LOG4J2-950:? Incorrect attribute name in PropertiesRewritePolicy example. Thanks to Joel
Edwards.
o LOG4J2-901:? Update docs for SyslogAppender: "No structured> to Tihomir Me??i?, Siegfried Greisinger.
o LOG4J2-958:? Update from Jackson 2.5.0 to 2.5.1.
o LOG4J2-925:? Update from Jackson 2.4.4 to 2.5.0.
o LOG4J2-910:? Update Jackson from 2.4.3 to 2.4.4.
o LOG4J2-881:? Update Jackson from 2.4.2 to 2.4.3.
o LOG4J2-882:? Update maven-core from 3.1.0 to 3.2.3.
o LOG4J2-883:? Update tests from org.apache.felix.framework 4.2.1 to 4.4.1.
o LOG4J2-884:? Update org.eclipse.osgi from 3.6.0 to 3.7.1.
o LOG4J2-900:? Update Apache Flume from 1.5.0.1 to 1.5.2.