2.0-beta5

Release date

2013-04-20

Added

  • Added FlumePersistentManager which writes to BerkeleyDB and then writes to Flume asynchronously.

  • Expose file appender configuration details via an advertisement mechanism. (LOG4J2-155)

  • Add support for asynchronous loggers. (LOG4J2-163)

  • Add methods is/setEndOfBatch to LogEvent. (LOG4J2-164)

  • Add Logger interface APIs to log at given levels. (LOG4J2-179)

  • Add tag library. (LOG4J2-187)

  • Add JMX support. (LOG4J2-207)

Changed

  • Allow Logger and LoggerContext to be subclassed. (LOG4J2-151)

  • Added ability to include or exclude location information. (LOG4J2-153)

  • Allowed Loggers access to the properties in the LoggerConfig. (LOG4J2-157)

  • Add RFC 5424 compliant escaping rules to RFC5424Layout. (LOG4J2-158)

  • Move Throwable pattern converter options processing to ThrowableFormatOptions class. (LOG4J2-160)

  • Move async subproject into core. (LOG4J2-208)

  • Async documentation update. (LOG4J2-214)

Fixed

  • Add Fragment-Host to MANIFEST.MF for log4j-core. (LOG4J2-159)

  • Modify ClassLoaderContextSelector to use the first ClassLoader in the child parent hierarchy that has a Context with a configuration to allow JSPs to use the WebApp’s context and configuration. (LOG4J2-161)

  • Configurator throws a ClassCastException if LogManager returns a SimpleLoggerContext. (LOG4J2-167)

  • ConfigurationFactory was adding factories on every call. (LOG4J2-169)

  • Plugin cache should be reset when addPackages is called. (LOG4J2-175)

  • Avoid IllegalArgumentException in AsynchAppender. (LOG4J2-176)

  • Fix NullPointerException in DatagramOutputStream when flush is called from multiple threads. (LOG4J2-177)

  • OutputStreamManager now adds the layout header whenever the OutputStream is set. (LOG4J2-181)

  • AppenderRefs on AsynchAppender didn’t support the level and filter elements. (LOG4J2-188)

  • The blocking parameter did not work properly on AsynchAppender. (LOG4J2-189)

  • BaseConfiguration addLoggerAppender saved appender using the Logger name. (LOG4J2-190)

  • RollingFastFileAppender (in log4j-async) did not roll over. (LOG4J2-193)

  • ThrowableFormatOptionsTest failed on Windows due to CR/LF issue. (LOG4J2-194)

  • Unit tests now create files in the target directory. (LOG4J2-195)

  • FlumeAvroManager now uses Flume RPCClient. (LOG4J2-196)

  • FlumeAvroManager now uses Flume RPCClient. (LOG4J2-198)

  • Highlight subprojects in sub-navigation. (LOG4J2-199)

  • LoggerContext method renamed to removeFilter from removeFiler. (LOG4J2-200)

  • Fix deadlock in SocketAppender. Added option to not wait for socket reconnect. (LOG4J2-205)

  • Use the Maven group ID org.apache.logging.log4j for all artifacts. (LOG4J2-207)

  • MapMessage was not enclosing key value in quotes when generating XML. (LOG4J2-210)

  • Removing extra spaces in entry and exit method output. (LOG4J2-211)

  • Call LoggerContext.stop when the application is shutdown. (LOG4J2-212)

  • Loggers without a "." had no parent logger. (LOG4J2-212)