Type |
Changes |
By |
|
Fixed ClassCastException when using JUL logging during shutdown. Fixes LOG4J2-1618. Thanks to Raman Gupta. |
rpopma |
|
2.7-rc1: RollingFileAppender immediateFlush default value should be true, not false. Fixes LOG4J2-1620. Thanks to Sascha Scholz. |
ggregory |
|
Improved performance of context data injector for web applications to be on par with standalone applications. Fixes LOG4J2-1611. |
rpopma |
|
Introduced new interface LifeCycle2 with stop(long,TimeUnit) method to avoid breaking backwards compatibility with new Configurator.shutdown(LoggerContext, long, TimeUnit) API. Fixes LOG4J2-1591. |
rpopma |
|
Fixed issue with filters extending AbstractFilter that did not override methods with unrolled varargs. Fixes LOG4J2-1590. |
rpopma |
|
Fixed scrambled log messages triggered by nested logging from toString() method of a logging parameter object. Fixes LOG4J2-1583. Thanks to Larry West. |
rpopma |
|
Log4j threads are no longer leaking on Tomcat shutdown. Fixes LOG4J2-1259. Thanks to Misagh Moayyed, Steffen Offermann. |
ggregory |
|
When starting on Google App Engine, Interpolator now suppresses the NoClassDefFoundError stack trace for the jvmrunargs lookup. Fixes LOG4J2-1051. Thanks to Lukasz Lenart. |
rpopma |
|
When initializing on platforms where JMX is not available, Interpolator component no longer prints stack trace for warning messages. Fixes LOG4J2-1582. |
rpopma |
|
Unregistering JMX components no longer prints a stack trace when the MBean has already been unregistered. Fixes LOG4J2-1581. |
rpopma |
|
Support Property values to be specified in configuration as a value attribute as well as an element. Fixes LOG4J2-1313. Thanks to Philipp Knobel, Leon Finker. |
rpopma |
|
(GC) LoggerConfig now stores configuration properties in a List, not a Map to prevent creating temporary Iterator objects. Added method LoggerConfig#getPropertyList(), deprecated method #getProperties(). Fixes LOG4J2-1575. |
rpopma |
|
Fixed class loader deadlock when using async logging and extended stack trace pattern. Fixes LOG4J2-1457. Thanks to Leon Finker. |
mattsicker |
|
Fix to prevent Log4j 2.6.2 and higher from losing exceptions when a security manager is present. Fixes LOG4J2-1563. Thanks to Jason Tedor. |
ggregory |
|
Fixed issue where LogEvent.getContextStack() returned null. Fixes LOG4J2-1530. |
mikes |
|
Prevent deadlock in Async Loggers when queue is full and logged Object's toString() logs another message. Fixes LOG4J2-1518. Thanks to Leon Finker. |
rpopma |
|
Prevent ArrayIndexOutOfBoundsException in ParameterizedMessage.formatTo for single-char or empty messages. Fixes LOG4J2-1542. Thanks to Rogério Lecarião Leite. |
rpopma |
|
Fixed issue where AsyncLoggerContextSelector+PropertiesConfigurationBuilder defaulted to includeLocation=true. Fixes LOG4J2-1549. Thanks to Jason Bedard. |
mikes |
|
Prevent SocketAppender memory usage from growing unbounded if it cannot connect to a server. Fixes LOG4J2-1562. |
ggregory |
|
Prevent NPE in Level.isInRange. Fixes LOG4J2-1559. Thanks to Andrey Plotkin. |
ggregory |
|
DynamicThresholdFilter filtered incorrectly when params were passed as individual arguments instead of varargs. Fixes LOG4J2-1511. Thanks to Srikanth Surukuntu. |
ggregory |
|
[CronTriggeringPolicy] ConfigurationScheduler scheduled the task infinitely after first fire. Fixes LOG4J2-1548. |
ggregory |
|
Log4j should not unregister JMX MBeans when log4j2.disable.jmx property is true. Fixes LOG4J2-1506. Thanks to Johannes Schleger. |
ggregory |
|
Log4j2 should postpone creating log file until the appender actually receives an event. Fixes LOG4J2-1490. Thanks to Krzysztof Taborski. |
ggregory |
|
Support loading custom plugins from jar files and directories whose classpath entries use the "vfs" URL protocol. Fixes LOG4J2-1320. Thanks to Paresh Varke, Pierrick Hymbert. |
ggregory |
|
Fix file handle resource leak in XmlConfiguration.XmlConfiguration(ConfigurationSource). Fixes LOG4J2-1541. |
ggregory |
|
Prevent NPE when dynamically removing filters. Fixes LOG4J2-1538. Thanks to Igor Karpov. |
ggregory |
|
Attributes were not merged properly in composite configurations. Fixes LOG4J2-1532. |
ggregory |
|
Attributes were not merged properly in composite configurations. Fixes LOG4J2-1529. Thanks to Sridevi Narra. |
mattsicker |
|
Prevent NPE in RingBufferLogEvent.getFormattedMessage() when used in web applications. Fixes LOG4J2-1527. Thanks to Jose Leon. |
rpopma |
|
Added ability to disable (date) lookup completely for compatibility with other libraries like Camel. Fixes LOG4J2-905. Thanks to Moritz Löser. |
ggregory |
|
Added support for setting StatusLogger destination in ConfigurationBuilder. Fixes LOG4J2-1526. |
mikes |
|
Allow comma separated agents, host list to be passed to FlumeAppender. Fixes LOG4J2-1448. Thanks to Keith Laban. |
rpopma |
|
Merging configurations failed with an NPE when comparing Nodes with different attributes. Fixes LOG4J2-1500. Thanks to Jose Leon. |
ggregory |
|
Fixed improper header in CsvParameterLayout. Fixes LOG4J2-1482. Thanks to Sumit Singhal. |
ggregory |
|
Documented that JVM Input Arguments Lookup (JMX) is not available on Google App Engine. Fixes LOG4J2-1199. |
rpopma |
|
(GC) Added method getParameter() to ObjectMessage (and ReusableObjectMessage). Fixes LOG4J2-1438. |
rpopma |
|
(GC) Fixed ISO8601 %date conversion pattern with a period '.' separator for milliseconds is now garbage free. Fixes LOG4J2-1488. Thanks to Richard Zschech. |
rpopma |
|
(GC) Fixed %date conversion patterns with a timezone parameter are now garbage free. Fixes LOG4J2-1489. Thanks to Richard Zschech. |
rpopma |
|
Prevent NullPointerException in FastDateParser$TimeZoneStrategy. Fixes LOG4J2-1279. Thanks to Tony Baines. |
rpopma |
|
(GC) HighlightConverter and StyleConverter are now GC-free. Fixes LOG4J2-1341. Thanks to Richard Zschech. |
rpopma |
|
[OSGi] Fixed missing import package. Fixes LOG4J2-1467. Thanks to Ralf, Gary Gregory. |
rpopma, ggregory |
|
[OSGi] Fixed wrong Fragment-Host in manifest files. Fixes LOG4J2-351. Thanks to Roland Weiglhofer. |
rpopma, ggregory |
|
Properties declared in configuration can now have their value either in the element body or in an attribute named "value". Fixes LOG4J2-1313. Thanks to Philipp Knobel. |
rpopma |
|
org.apache.logging.log4j.core.appender.routing.IdlePurgePolicy was not working correctly. Fixes LOG4J2-1235. Thanks to Niranjan Rao, Sascha Scholz, Aleksey Zvolinsky. |
ggregory |
|
Fixed issue where CsvParameterLayout and CsvLogEventLayout inserted NUL characters if data starts with {, (, [ or " Fixes LOG4J2-1502. Thanks to Sumit Singhal. |
ggregory |
|
Layout is no longer optional. Fixes LOG4J2-1573. Thanks to Steffen Offermann. |
ggregory |
|
ServletAppender does not provide throwable object to ServletContext. Fixes LOG4J2-1608. |
ggregory |
|
Prevent potential NPE in org.apache.logging.log4j.message.ParameterFormatter.formatMessage3(StringBuilder, char[], int, Object[], int, int[]). Fixes LOG4J2-1599. |
ggregory |
|
Prevent potential NPE due to org.apache.logging.log4j.core.layout.MarkerPatternSelector.createSelector(PatternMatch[], String, boolean, boolean, Configuration). Fixes LOG4J2-1600. |
ggregory |
|
Prevent potential NPE due to org.apache.logging.log4j.core.layout.ScriptPatternSelector.createSelector(AbstractScript, PatternMatch[], String, boolean, boolean, Configuration). Fixes LOG4J2-1601. |
ggregory |
|
Prevent potential NPE in org.apache.logging.log4j.core.util.datetime.FormatCache.MultipartKey.equals(Object) when object is null. Fixes LOG4J2-1602. |
ggregory |
|
Redo hashCode() and equals() methods in org.apache.logging.log4j.core.net.ssl classes. Fixes LOG4J2-1603. |
ggregory |
|
Add targetNamespace to log4j-config.xsd. GitHub #43. Fixes LOG4J2-1610. Thanks to Shubhankar. |
ggregory |
|
new Log4jLogEvent().toString() throws an NPE. Fixes LOG4J2-1619. |
ggregory |
|
RoutingAppender can be configured with scripts. Add Script in a Routes element. Fixes LOG4J2-1578. |
ggregory |
|
Add a ScriptAppenderSelector to create an Appender specified by a Script. Fixes LOG4J2-1597. |
ggregory |
|
(GC) Added support for garbage-free ThreadContext map. Disabled by default, users need to enable this explicitly. Fixes LOG4J2-1349. |
rpopma |
|
(GC) Changed LogEvent's internal data structure for context data to be garbage-free. Added method LogEvent#getContextData(), deprecated method #getContextMap(). Fixes LOG4J2-1447. |
rpopma |
|
Users can now inject context data from other sources than ThreadContext. Values can be any Object, not just Strings. Fixes LOG4J2-1010. Thanks to Mikael Ståldal. |
rpopma |
|
Added support for java.util.concurrent.LinkedTransferQueue to AsyncAppender. Fixes LOG4J2-1568. |
mattsicker |
|
Added optional support for Conversant DisruptorBlockingQueue in AsyncAppender. Fixes LOG4J2-1430. Thanks to John Cairns. |
mattsicker |
|
Added optional support for JCTools MPSC bounded lock-free queue in AsyncAppender. Fixes LOG4J2-1439. Thanks to Anthony Maire. |
mattsicker |
|
SocketAppender now supports IO buffering. Fixes LOG4J2-1558. |
ggregory |
|
Add a Builder for the SocketAppender (deprecates factory method). Fixes LOG4J2-1557. |
ggregory |
|
Add a Builder to ServletAppender and deprecate factory method. Fixes LOG4J2-1609. |
ggregory |
|
AbstractManager now implements AutoCloseable. Fixes LOG4J2-1553. |
ggregory |
|
Added ability to generate Log4j 2-style XML configuration file from ConfigurationBuilder. Fixes LOG4J2-1528. |
mikes |
|
Added Logging API for Scala 2.10 and 2.11. Fixes LOG4J2-1181. |
mikes |
|
Added options to exclude stack trace from JSON, XML and YAML layouts. Fixes LOG4J2-1512. |
mikes |
|
Added Core API Configurator.shutdown(LoggerContext, long, TimeUnit). Fixes LOG4J2-1539. |
ggregory |
|
FileAppender is now able to create files on-demand. Fixes LOG4J2-1501. |
ggregory |
|
RollingFileAppender is now able to create files on-demand. Fixes LOG4J2-1504. |
ggregory |
|
[PatternLayout] Add an ANSI option to %xThrowable. Fixes LOG4J2-1471. |
ggregory |
|
org.apache.logging.log4j.core.LoggerContext now implements Closeable. Fixes LOG4J2-1472. |
ggregory |
|
[PatternLayout] Add an ANSI option to %message. Fixes LOG4J2-1458. |
ggregory |
|
Create a Builder for the FileAppender plugin to facilitate adding attributes in the future. Fixes LOG4J2-1505. |
ggregory |
|
Allow Builders to be completely generic. Fixes LOG4J2-1507. |
ggregory |
|
Allow a Builder to subclass another Builder. Fixes LOG4J2-1508. |
ggregory |
|
Add ThreadContextMap2 interface supporting method putAll(Map<String, String>). Fixes LOG4J2-1516. Thanks to Gary Gregory. |
rpopma |
|
Add ThreadContext.putAll(Map<String, String>). Fixes LOG4J2-1519. |
ggregory |
|
Add JUnit Rule implementations to manage the thread context. Fixes LOG4J2-1520. |
ggregory |
|
The Core AbstractConfiguration now tracks its LoggerContext and add Configuration.getLoggerContext(). Fixes LOG4J2-1547. |
ggregory |
|
The Core AbstractManager now tracks its LoggerContext. Fixes LOG4J2-1540. |
ggregory |
|
Add a Builder to the RoutingAppender and deprecate factory method. Fixes LOG4J2-1577. |
ggregory |
|
Log4j2 TcpSocketServer in background. Fixes LOG4J2-1604. Thanks to Colin Hillman. |
ggregory |
|
Allow the RollingFileAppender to use default pattern layout. Fixes LOG4J2-1574. |
ggregory |
|
Custom Log4j threads now extend Log4jThread. Fixes LOG4J2-1556. |
ggregory |
|
Improve error messages for TcpSocketServer and UdpSocketServer. Fixes LOG4J2-1605. |
ggregory |
|
Updated Jackson from 2.7.5 to 2.8.0. Fixes LOG4J2-1458. |
ggregory |
|
Updated Jackson from 2.8.0 to 2.8.1. Fixes LOG4J2-1494. |
ggregory |
|
Updated Jackson from 2.8.1 to 2.8.2. Fixes LOG4J2-1569. |
ggregory |
|
Updated Jackson from 2.8.2 to 2.8.3. Fixes LOG4J2-1598. |
ggregory |
|
Updated LMAX Disruptor from 3.3.4 to 3.3.5. Fixes LOG4J2-1495. |
ggregory |
|
Updated Kafka client from 0.9.1.0 to 0.10.0.0. Fixes LOG4J2-1496. |
ggregory |
|
Updated Kafka client from 0.10.0.0 to 0.10.0.1. Fixes LOG4J2-1533. |
ggregory |
|
Updated JMS test from ActiveMQ 5.13.3 to 5.13.4. Fixes LOG4J2-1487. |
ggregory |
|
Updated JMS test from ActiveMQ 5.13.4 to 5.14.0. Fixes LOG4J2-1551. |
ggregory |
|
Removed deprecated Core API org.apache.logging.log4j.core.util.Constants.UTF_8. Fixes LOG4J2-1543. |
ggregory |
|
Removed deprecated Core API org.apache.logging.log4j.core.util.Assert.requireNonNull(T, String). Fixes LOG4J2-1544. |
ggregory |
|
Removed deprecated Web API org.apache.logging.log4j.web.WebLookup.getServletContext(). Fixes LOG4J2-1545. |
ggregory |