2.0-beta8

Release date

2013-07-10

Changed

  • Include arbitrary message fields in RFC-5424 structured data. (LOG4J2-168)

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

  • Wasted work in XMLLayout.toSerializable(). (LOG4J2-273)

  • Wasted work in UUIDUtil initialization. (LOG4J2-274)

  • Wasted work in RollingAppenderSizeTest.testAppender() and others. (LOG4J2-277)

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

  • Remove dependency on Apache ORO jar. (LOG4J2-283)

  • Update Log4j 1 dependency to 1.2.17 from 1.2.16. (LOG4J2-284)

  • Update Jansi jar to 1.11 from 1.9. (LOG4J2-285)

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

  • Update JUnit to 4.11 from 4.7. (LOG4J2-288)

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

  • Add printf methods to Logger API. (LOG4J2-301)

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

Fixed

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

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

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

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

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

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

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

  • Upgrade javadoc plugin to 2.9.1 to fix javadoc security issue. (LOG4J2-289)

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

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

  • Wasted work in FlumePersistentManager.createManager. (LOG4J2-296)

  • Wasted work in TestConfigurator.testEnvironment. (LOG4J2-297)

  • Wasted work in StyleConverterTest.setupClass. (LOG4J2-298)

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

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