2.0-beta7
- Release date
-
2013-06-01
Added
-
Break up core into multiple osgi jars. (LOG4J2-10)
-
New JDBC, JPA, and NoSQL database Appenders. (LOG4J2-229)
-
Provide configuration information (location, content type, content if possible) via a registered Advertiser. (LOG4J2-251)
Changed
-
Improve ThreadContext performance with copy-on-write map and stack. (LOG4J2-154)
-
Allow custom LogEventFactories. (LOG4J2-243)
-
Allow context parameters in Log4jContextListener to include properties. (LOG4J2-249)
-
Add support for interceptors in the embedded Flume Appender. (LOG4J2-262)
-
Method name changes in interface org.apache.logging.log4j.spi.ThreadContextMap: getContext() to getCopy(), get() to getImmutableMapOrNull().
Fixed
-
Remove LoggerContext when LoggerContext is stopped. (LOG4J2-223)
-
UDP now sends one event per packet. (LOG4J2-228)
-
StringFormattedMessage and MessageFormatMessage now will accept a Throwable as their last argument and pass it on. (LOG4J2-242)
-
Rewrite Appender was ignoring filters on referenced appenders. (LOG4J2-244)
-
Avoid EmptyStack exception if getCallerClass and SecurityManager are not available. (LOG4J2-245)
-
Data buffer is reset in finally clause. (LOG4J2-246)
-
SocketServer.isActive should be volatile because it is accessed from different threads. (LOG4J2-247)
-
Mark OutputStream in OutputStreamManager as volatile. Mark header and footer as final. (LOG4J2-254)
-
Multi-byte character strings are now assumed to be in the platform default encoding, not UTF-8. (LOG4J2-255)
-
XML layout ignores charset for the XML processing instruction’s encoding attribute. (LOG4J2-257)
-
HTML layout does not output meta element for charset. (LOG4J2-258)
-
HTML layout does not specify charset in content type. (LOG4J2-259)
-
XML layout does not specify charset in content type. (LOG4J2-260)
-
Add missing "not" to error message. (LOG4J2-261)
-
Do not allow a charset on RFC5424Layout - use UTF-8. (LOG4J2-263)
-
Add guid to FlumeEvent headers for non-Map Messages. (LOG4J2-268)
-
Use transaction when batch size is 1. (LOG4J2-269)