Type | Changes | By |
---|
| Removed the DataSourceConnectionSource and the <DriverManager> plugin for the JDBC Appender. It is not
safe to use. Please use the DataSource or factory connection sources backed by a connection pool. | nickwilliams |
| Renamed the org.apache.logging.log4j.core.appender.db.nosql.mongo package to
org.apache.logging.log4j.core.appender.db.nosql.mongodb. | nickwilliams |
| Renamed the org.apache.logging.log4j.core.appender.db.nosql.couch package to
org.apache.logging.log4j.core.appender.db.nosql.couchdb. | grobmeier |
| (JMX - ObjectNames changed!) Unloading one web application unloads JMX MBeans for all web applications. Fixes LOG4J2-500. | rpopma |
| Space Level numbers by 100 instead of 1. Fixes LOG4J2-507. | ggregory |
| Fixed bugs where rolled log files were overwritten by RollingFile appender with
composite time and size based policies. Fixes LOG4J2-531. Thanks to Geoff Ballinger. | rpopma |
| Changed the MongoDBConnection to add a MongoDB encoding hook instead of a decoding hook. Fixes LOG4J2-475. Thanks to Matt Sicker. | nickwilliams |
| Fixed the JPAAppender's overuse of transactions by connecting (borrowing from pool) on new write internal or on
flush. Fixes LOG4J2-489. | nickwilliams |
| Fixed failure of JDBC and JPA appender to properly release database connections by connecting (borrowing from
pool) on new write internal or on flush. Fixes LOG4J2-457. | nickwilliams |
| Fixed problem with JDBC and JPA appender connectivity in WebSphere by connecting (borrowing from pool) on new
write internal or on flush. Fixes LOG4J2-442. | nickwilliams |
| Ensured the JDBCAppender commits transactions after a single write or a flush of multiple writes. Fixes LOG4J2-438. | nickwilliams |
| Fixed inability to recover from lost database connection in database appenders by connecting (borrowing from
pool) on new write internal or on flush. Fixes LOG4J2-407. | nickwilliams |
| (JMX) JMX Client GUI should dynamically update when LoggerContext MBeans are registered/unregistered in MBean
server. Fixes LOG4J2-530. | rpopma |
| Stop AsyncLoggerConfig Disruptor thread(s), then AsyncAppender thread(s) first
before stopping other appenders. Fixes LOG4J2-511. Thanks to James Pretorius. | rpopma |
| Stop AsyncLoggerConfig Disruptor thread(s), then AsyncAppender thread(s) first
before stopping other appenders. Fixes LOG4J2-392. Thanks to ilynaf, Andre Bogus. | rpopma |
| (OSGi) logging.log4j-1.2-api doesn't export the log4j API 1.2. Dependent bundles can not be resolved. Fixes LOG4J2-345. Thanks to Roland Weiglhofer, Matt Sicker. | rpopma |
| LocalizedMessage serialization is broken. Fixes LOG4J2-523. | ggregory |
| Fixed issues with time-based file rollover (monthly, weekly, hourly and every minute). Fixes LOG4J2-385. Thanks to Ace Funk, Porfirio Partida. | rpopma |
| Added a ServletContext attribute that, when set to "true", disables Log4j's auto-initialization in
Servlet 3.0+ web applications. Fixes LOG4J2-452. | nickwilliams |
| Exposed Log4j web support interface and methods and the LoggerContext through ServletContext attributes
so that threads not affected by filters (such as asynchronous threads) can utilize the LoggerContext. Also
updated the Log4j filter so that it supports async. Fixes LOG4J2-512. Thanks to Chandra Sekhar Kakarla, Matt Sicker. | nickwilliams |
| Created a utility to properly escape backslashes before creating URIs, and changed URI creation to use the
utility instead of instantiating URI directly. Fixes LOG4J2-409. Thanks to Frank Steinmann, Thomas Neidhart. | nickwilliams |
| Changed the Servlet 3.0 auto-initializer to add the filter by class to get around a WebLogic bug. Fixes LOG4J2-344. Thanks to Keir Lawson, Tomasz Wladzinski. | nickwilliams |
| 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. This includes additional fixes to abort initialization if a
duplicate filter already exists and to check the actual Servlet EFFECTIVE version. Fixes LOG4J2-359. Thanks to Abhinav Shah. | nickwilliams |
| Switch in log4j-1.2-api Category.getEffectiveLevel has no cases for FATAL, OFF. Fixes LOG4J2-517. | rpopma |
| Add support for custom logging levels. Fixes LOG4J2-41. Thanks to Nick Williams. | rgoers |
| (JMX) Unregister all log4j JMX MBeans when the LoggerContext is stopped
to allow web application classes to be GC-ed on undeploy. Fixes LOG4J2-406. Thanks to Kerrigan Joseph. | rpopma |
| Configuration was being processed twice at startup. Fixes LOG4J2-405. | rgoers |
| ThreadContext now uses plain ThreadLocal by default, unless system property
isThreadContextMapInheritable has value "true". Fixes LOG4J2-479. Thanks to MK. | rpopma |
| Configure properties and setup Interpolator before processing rest of configuration. Fixes LOG4J2-398. | rgoers |
| Add Stream interface to Loggers. Fixes LOG4J2-481. Thanks to Matt Sicker. | rgoers |
| Update EasyMock to version 3.2. Fixes LOG4J2-490. Thanks to Matt Sicker. | rgoers |
| hostName property was not being set until after the first configuration element. Fixes LOG4J2-470. | rgoers |
| Support arrays as sub-elements of a JSON configuration. Fixes LOG4J2-464. | rgoers |
| (JMX) Fixed MalformedObjectNameException if context name contains '=' or newline characters. Fixes LOG4J2-492. Thanks to Shaddy Baddah, Herlani Junior. | rpopma |
| (OSGi) Fix NPE during shutdown. Fixes LOG4J2-377. Thanks to Roland Weiglhofer, Matt Sicker. | rpopma |
| Fixed documentation for MyApp example application in the Automatic Configuration section Fixes LOG4J2-463. Thanks to Michael Diamond, Matt Sicker. | rpopma |
| Fixed error in documentation code example in manual/eventlogging.html Fixes LOG4J2-408. Thanks to Dongqing Hu, Matt Sicker. | rpopma |
| Fixed typo in documentation: system property should be log4j2.loggerContextFactory Fixes LOG4J2-451. Thanks to Vinay Pothnis, Matt Sicker. | rpopma |
| (JMX) Fixed issue where log4j2 LoggerContext did not show up in JMX GUI or JConsole. Fixes LOG4J2-443. Thanks to Colin Froggatt, Tudor Har. | rpopma |
| Fixed issue where toString methods that perform logging could deadlock AsyncAppender. Fixes LOG4J2-485. | rpopma |
| ResolverUtil cannot find packages in file URLs which include the '+' character. Fixes LOG4J2-445. Thanks to Anthony Baldocchi. | rpopma |
| Use the formatted Message in RFC5424Layout for non-StructuredDataMessages. Fixes LOG4J2-430. Thanks to David Gstir. | rgoers |
| Set external context when constructing the LoggerContext. Fixes LOG4J2-459. | rgoers |
| Cannot load log4j2 config file if path contains plus '+' characters. Fixes LOG4J2-466. Thanks to Jan Tepke. | rpopma |
| Fix LogEvent to never return null Level, fixes LevelPatternConverter.format may throw NPE. Fixes LOG4J2-462. Thanks to Daisuke Baba. | rpopma |
| Fix LogEvent to never return null Level, fixes ThresholdFilter throws NPE. Fixes LOG4J2-465. Thanks to Daisuke Baba. | rpopma |
| Fixed issue where toString methods that perform logging could deadlock AsyncLogger. Fixes LOG4J2-471. Thanks to Anthony Baldocchi. | rpopma |
| Documentation fix: The attribute of Route to refer to an appender is "ref" not "AppenderRef". Fixes LOG4J2-482. Thanks to Hongdi Ren. | rpopma |
| Added option to toggle Thread name caching in AsyncLogger. Fixes LOG4J2-467. Thanks to Anthony Baldocchi. | rpopma |
| The message and ndc fields are not JavaScript escaped in JSONLayout. Fixes LOG4J2-478. Thanks to Michael Friedmann.. | ggregory |
| RingBufferLogEvent should return Message timestamp for TimestampMessage messages. Fixes LOG4J2-455. Thanks to Robin Zhang Tao. | rpopma |
| NPE in ClassLoaderContextSelector. Fixes LOG4J2-477. Thanks to Tal Liron. | rpopma |
| TimeBasedTriggeringPolicy should use event time millis. Fixes LOG4J2-454. Thanks to Robin Zhang Tao. | rpopma |
| BaseConfiguration class does not properly implement Configuration interface. Fixes LOG4J2-472. Thanks to Tal Liron. | rpopma |
| XMLLayout does not include marker name. Fixes LOG4J2-447. Thanks to Jeff Hudren, Mark Paluch, Scott Deboy. | ggregory |
| Update Flume Appender to use Flume 1.4.0. Fixes LOG4J2-453. | rgoers |
| (JMX) Added MBeans for instrumenting AsyncAppenders and AsyncLogger RingBuffers,
exposing queue size, remaining capacity and other attributes. Fixes LOG4J2-423. | rpopma |
| Resolved memory leak by releasing reference to ThreadLocal when
AsyncLogger is stopped. Fixes LOG4J2-323. | rpopma |
| Resolved memory leak by populating AsyncLoggerConfigHelper ring buffer
via EventTranslatorTwoArg, eliminating the need for a ThreadLocal. Fixes LOG4J2-425. | rpopma |
| Create a lookup for resource bundle substitution. Fixes LOG4J2-420. | ggregory |
| Fix Event Level / LoggerConfig Level table at the architecture documentation page. Fixes LOG4J2-417. | ggregory |
| Format log event time as UNIX time (seconds or milliseconds). Fixes LOG4J2-415. | ggregory |
| @EnterpriseNumber" was missing in the ID of structured data when RFC5424Layout is used Fixes LOG4J2-404. Thanks to Kamal Bahadur. | rgoers |
| Fixed issue that prevented Log4J from working in Google App Engine. Fixes LOG4J2-379. | rpopma |
| Configure FileAppender buffer size. Fixes LOG4J2-401. | ggregory |
| Configure RandomAccessFileAppender buffer size. Fixes LOG4J2-402. | ggregory |
| Rename package org.apache.logging.log4j.core.appender.rolling.helper to org.apache.logging.log4j.core.appender.rolling.action. Fixes LOG4J2-528. | ggregory |
| Resource leak in Flume appender when it cannot create a BerkeleyDB db. Fixes LOG4J2-532. | ggregory |
| PatternLayout option to not output ANSI escape codes if no Console is available. Fixes LOG4J2-413. | ggregory |