2.0-beta8 (2013-07-10)

Changes

Changed

  • Include arbitrary message fields in RFC-5424 structured data. (for LOG4J2-168 by Ralph Goers, Scott Severtson)

  • Improved logging initialization in Servlet containers, especially Servlet 3.0 and newer where Log4j now initializes and deinitializes automatically with no deployment descriptor configuration. (for LOG4J2-270 by Nick Williams)

  • Wasted work in XMLLayout.toSerializable(). (for LOG4J2-273 by Gary Gregory)

  • Wasted work in UUIDUtil initialization. (for LOG4J2-274 by Gary Gregory)

  • Wasted work in RollingAppenderSizeTest.testAppender() and others. (for LOG4J2-277 by Gary Gregory)

  • Allow the default status level to be specified as a system property. (for LOG4J2-282 by Ralph Goers)

  • Remove dependency on Apache ORO jar. (for LOG4J2-283 by Gary Gregory)

  • Update Log4j 1 dependency to 1.2.17 from 1.2.16. (for LOG4J2-284 by Gary Gregory)

  • Update Jansi jar to 1.11 from 1.9. (for LOG4J2-285 by Gary Gregory)

  • Update test H2 JDBC driver to 1.172 from 1.171. (for LOG4J2-286 by Gary Gregory)

  • Update JUnit to 4.11 from 4.7. (for LOG4J2-288 by Gary Gregory)

  • LogManager.getLogger can now be called without a logger name or with a null logger name. (for LOG4J2-294 by Ralph Goers)

  • Add printf methods to Logger API. (for LOG4J2-301 by Ralph Goers)

  • Update NoSQL dependencies: lightcouch 0.0.6 from 0.0.5, mongodb 2.11.2 from 2.11.1. (for LOG4J2-386 by Gary Gregory)

Fixed

  • Fix NullPointerException (regression due to fix for LOG4J2-228) (for LOG4J2-139 by Ralph Goers)

  • FastRollingFileAppender with TimeBasedTriggeringPolicy now works correctly if append=false. (for LOG4J2-267 by Remko Popma)

  • FastRollingFileAppender with TimeBasedTriggeringPolicy now works correctly if append=false. (for LOG4J2-271 by Remko Popma)

  • FlumeAvroManager fails to notify client of failing event if Flume RPCClient cannot be created. (for LOG4J2-275 by Ralph Goers)

  • Filter calls from Avro or Flume to be ignored by the FlumeAppender. (for LOG4J2-278 by Ralph Goers)

  • FlumePersistentManager now calls Berkeley DB from threads to avoid encountering interrupts in the application. (for LOG4J2-279 by Ralph Goers)

  • AsyncLogger threads are now daemon threads and won’t prevent the JVM from shutting down anymore. (for LOG4J2-280 by Remko Popma)

  • Upgrade javadoc plugin to 2.9.1 to fix javadoc security issue. (for LOG4J2-289 by Ralph Goers)

  • Fast(Rolling)FileAppender now correctly appends to (does not overwrite) existing file. (for LOG4J2-292 by Remko Popma)

  • Fast(Rolling)FileAppender now correctly handles messages exceeding the buffer size. (for LOG4J2-295 by Remko Popma)

  • Wasted work in FlumePersistentManager.createManager. (for LOG4J2-296 by Gary Gregory)

  • Wasted work in TestConfigurator.testEnvironment. (for LOG4J2-297 by Gary Gregory)

  • Wasted work in StyleConverterTest.setupClass. (for LOG4J2-298 by Gary Gregory)

  • WriterThread was ending when no agents are available which caused an OutOfMemoryError. (for LOG4J2-300 by Ralph Goers)

  • Added toString methods to ThreadContextStack/Map implementation classes. (for LOG4J2-302 by Remko Popma)