You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2016/05/16 16:10:58 UTC
[2/2] logging-log4j2 git commit: LOG4J2-1270 group tickets relating
to the garbage-free logging epic together in the change log
LOG4J2-1270 group tickets relating to the garbage-free logging epic together in the change log
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/c53c6f57
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/c53c6f57
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/c53c6f57
Branch: refs/heads/master
Commit: c53c6f576a32e92163026afd8db958189b7041e6
Parents: 96c49cd
Author: rpopma <rp...@apache.org>
Authored: Tue May 17 01:11:30 2016 +0900
Committer: rpopma <rp...@apache.org>
Committed: Tue May 17 01:11:30 2016 +0900
----------------------------------------------------------------------
src/changes/changes.xml | 118 +++++++++++++++++++++----------------------
1 file changed, 59 insertions(+), 59 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/c53c6f57/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index aede00f..0d86663 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -33,6 +33,65 @@
<action issue="LOG4J2-1297" dev="rpopma" type="add">
(GC) Added manual page on garbage-free logging.
</action>
+ <action issue="LOG4J2-1373" dev="rpopma" type="add">
+ (GC) Update Logger wrapper Generator tool to generate methods for the new Logger methods.
+ </action>
+ <action issue="LOG4J2-1356" dev="mikes" type="update">
+ (GC) GelfLayout does now support garabage-free logging (with compressionType=OFF).
+ </action>
+ <action issue="LOG4J2-1326" dev="rpopma" type="add">
+ (GC) Added methods to the Logger interface for logging CharSequence messages.
+ </action>
+ <action issue="LOG4J2-1344" dev="rpopma" type="add">
+ (GC) FileAppender, RollingFileAppender and MemoryMappedFileAppender are now also garbage-free by default.
+ </action>
+ <action issue="LOG4J2-1343" dev="rpopma" type="update">
+ (GC) ConsoleAppender is now garbage-free by default. This logic is reusable for all AbstractOutputStreamAppender subclasses.
+ </action>
+ <action issue="LOG4J2-1278" dev="rpopma" type="add">
+ (GC) Added unrolled varargs methods to Logger API, added Unbox utility to avoid auto-boxing when logging primitive values.
+ </action>
+ <action issue="LOG4J2-1318" dev="rpopma" type="update">
+ (GC) Avoid allocating unnecessary temporary objects in LoggerContext's getLogger methods.
+ </action>
+ <action issue="LOG4J2-1333" dev="rpopma" type="update">
+ (GC) Avoid allocating unnecessary temporary objects in MarkerManager's getMarker methods.
+ </action>
+ <action issue="LOG4J2-1321" dev="rpopma" type="update">
+ (GC) Avoid allocating unnecessary temporary objects in PatternLayout's NamePatternConverter and ClassNamePatternConverter.
+ </action>
+ <action issue="LOG4J2-1271" dev="rpopma" type="add">
+ (GC) Add MessageFactory that avoid allocation by reusing a cached ParameterizedMessage instance.
+ </action>
+ <action issue="LOG4J2-1271" dev="rpopma" type="update">
+ (GC) ParameterizedMessage optimizations to avoid or at least postpone allocating temporary objects.
+ </action>
+ <action issue="LOG4J2-1283" dev="rpopma" type="update">
+ (GC) Provide ThreadLocal-based gc-free caching mechanism in DatePatternConverter for non-webapps.
+ </action>
+ <action issue="LOG4J2-1293" dev="rpopma" type="add">
+ (GC) Add interface StringBuilderFormattable to enable converting Messages and parameters to text without allocating temporary objects.
+ ParameterizedMessage, ObjectMessage, SimpleMessage and ThreadDumpMessage now implement StringBuilderFormattable.
+ </action>
+ <action issue="LOG4J2-1291" dev="rpopma" type="update">
+ (GC) Update PatternLayout to utilize gc-free mechanism for LogEvent processing.
+ </action>
+ <action issue="LOG4J2-1292" dev="rpopma" type="update">
+ (GC) Update RandomAccessFileAppender and RollingRandomAccessFileAppender to utilize gc-free Layout.encode() method.
+ </action>
+ <action issue="LOG4J2-1274" dev="rpopma" type="add">
+ (GC) Add encode(LogEvent, ByteBufferDestination) method to Layout API to enable converting LogEvents to bytes without creating temporary objects.
+ </action>
+ <action issue="LOG4J2-1281" dev="rpopma" type="fix">
+ (GC) LoggerConfig.getProperties() should not allocate on each call.
+ </action>
+ <action issue="LOG4J2-1272" dev="rpopma" type="update">
+ (GC) Improve LoggerConfig's data structure for AppenderControl objects to avoid allocating temporary objects during
+ traversal for each log event.
+ </action>
+ <action issue="LOG4J2-1269" dev="rpopma" type="fix">
+ (GC) AsyncLogger should use thread-local translator by default.
+ </action>
<action issue="LOG4J2-1179" dev="rpopma" type="add">
Documented benchmark results comparing Log4j 2 performance to other logging libraries.
</action>
@@ -60,9 +119,6 @@
<action issue="LOG4J2-1384" dev="ggregory" type="update">
Update Apache Commons CSV from 1.2 to 1.3.
</action>
- <action issue="LOG4J2-1373" dev="rpopma" type="add">
- (GC) Update Logger wrapper Generator tool to generate methods for the new Logger methods.
- </action>
<action issue="LOG4J2-1372" dev="rgoers" type="fix" due-to="Kamal Mettananda, Gary Gregory">
XMLLayout indents, but not the first child tag (Event).
</action>
@@ -78,27 +134,15 @@
<action issue="LOG4J2-1365" dev="mikes" type="update">
(Log4j-internal) Provide message text as CharSequence for some message types to optimize some layouts.
</action>
- <action issue="LOG4J2-1356" dev="mikes" type="update">
- (GC) GelfLayout does now support garabage-free logging (with compressionType=OFF).
- </action>
<action issue="LOG4J2-1368" dev="rpopma" type="fix">
(Log4j-internal) StatusLogger dropped exceptions when logging parameterized messages.
</action>
- <action issue="LOG4J2-1326" dev="rpopma" type="add">
- (GC) Added methods to the Logger interface for logging CharSequence messages.
- </action>
<action issue="LOG4J2-1348" dev="ggregory" type="add" due-to="Greg Thomas, Gary Gregory">
Add an AutoCloseable ThreadContext class: CloseableThreadContext.
</action>
<action issue="LOG4J2-1345" dev="rpopma" type="update">
(Doc) Clarify documentation for properties that control Log4j behaviour.
</action>
- <action issue="LOG4J2-1344" dev="rpopma" type="add">
- (GC) FileAppender, RollingFileAppender and MemoryMappedFileAppender are now also garbage-free by default.
- </action>
- <action issue="LOG4J2-1343" dev="rpopma" type="update">
- (GC) ConsoleAppender is now garbage-free by default. This logic is reusable for all AbstractOutputStreamAppender subclasses.
- </action>
<action issue="LOG4J2-1336" dev="ggregory" type="fix" due-to="Zbynek Vyskovsky">
LoggerFactory in 1.2 API module is not compatible with 1.2.
</action>
@@ -108,74 +152,30 @@
<action issue="LOG4J2-1346" type="fix">
Exception from Log4jServletContextListener prevents jetty-maven-plugin run-forked.
</action>
- <action issue="LOG4J2-1278" dev="rpopma" type="add">
- (GC) Added unrolled varargs methods to Logger API, added Unbox utility to avoid auto-boxing when logging primitive values.
- </action>
<action issue="LOG4J2-1339" dev="rpopma" type="fix">
(Perf) AsyncLogger performance optimization: avoid calling instanceof TimestampMessage in hot path.
</action>
<action issue="LOG4J2-1324" dev="rpopma" type="fix">
Improve error handling in the Async Logger background thread: the new default exception handler no longer rethrows the error.
</action>
- <action issue="LOG4J2-1318" dev="rpopma" type="update">
- (GC) Avoid allocating unnecessary temporary objects in LoggerContext's getLogger methods.
- </action>
- <action issue="LOG4J2-1333" dev="rpopma" type="update">
- (GC) Avoid allocating unnecessary temporary objects in MarkerManager's getMarker methods.
- </action>
- <action issue="LOG4J2-1321" dev="rpopma" type="update">
- (GC) Avoid allocating unnecessary temporary objects in PatternLayout's NamePatternConverter and ClassNamePatternConverter.
- </action>
<action issue="LOG4J2-1309" dev="ggregory" type="fix">
Configuration file error does not show cause exception.
</action>
<action issue="LOG4J2-1299" dev="ggregory" type="add">
Add pattern converter for thread id and priority in PatternLayout.
</action>
- <action issue="LOG4J2-1271" dev="rpopma" type="add">
- (GC) Add MessageFactory that avoid allocation by reusing a cached ParameterizedMessage instance.
- </action>
- <action issue="LOG4J2-1271" dev="rpopma" type="update">
- (GC) ParameterizedMessage optimizations to avoid or at least postpone allocating temporary objects.
- </action>
- <action issue="LOG4J2-1283" dev="rpopma" type="update">
- (GC) Provide ThreadLocal-based gc-free caching mechanism in DatePatternConverter for non-webapps.
- </action>
- <action issue="LOG4J2-1293" dev="rpopma" type="add">
- (GC) Add interface StringBuilderFormattable to enable converting Messages and parameters to text without allocating temporary objects.
- ParameterizedMessage, ObjectMessage, SimpleMessage and ThreadDumpMessage now implement StringBuilderFormattable.
- </action>
- <action issue="LOG4J2-1291" dev="rpopma" type="update">
- (GC) Update PatternLayout to utilize gc-free mechanism for LogEvent processing.
- </action>
- <action issue="LOG4J2-1292" dev="rpopma" type="update">
- (GC) Update RandomAccessFileAppender and RollingRandomAccessFileAppender to utilize gc-free Layout.encode() method.
- </action>
- <action issue="LOG4J2-1274" dev="rpopma" type="add">
- (GC) Add encode(LogEvent, ByteBufferDestination) method to Layout API to enable converting LogEvents to bytes without creating temporary objects.
- </action>
<action issue="LOG4J2-1289" dev="ggregory" type="fix">
Change flow logging text from "entry' to "Enter" and "exit" to "Exit".
</action>
<action issue="LOG4J2-1284" dev="rpopma" type="fix">
Made default MessageFactory configurable.
</action>
- <action issue="LOG4J2-1281" dev="rpopma" type="fix">
- (GC) LoggerConfig.getProperties() should not allocate on each call.
- </action>
<action issue="LOG4J2-1280" dev="ggregory" type="fix">
Deprecate org.apache.logging.log4j.util.MessageSupplier.
</action>
<action issue="LOG4J2-1280" dev="rpopma" type="fix">
Logger methods taking Supplier parameters now correctly handle cases where the supplied value is a Message.
</action>
- <action issue="LOG4J2-1272" dev="rpopma" type="update">
- (GC) Improve LoggerConfig's data structure for AppenderControl objects to avoid allocating temporary objects during
- traversal for each log event.
- </action>
- <action issue="LOG4J2-1269" dev="rpopma" type="fix">
- (GC) AsyncLogger should use thread-local translator by default.
- </action>
<action issue="LOG4J2-1268" dev="rpopma" type="fix">
FixedDateFormat was incorrect for formats having MMM with the French locale.
</action>