Apache Log4j 2.6.2 ·¢²¼ÁË£¬Log4jÊÇApacheµÄÒ»¸ö¿ª·ÅÔ´´úÂëÏîÄ¿£¬Í¨¹ýʹÓÃLog4j£¬ÎÒÃÇ¿ÉÒÔ¿ØÖÆÈÕÖ¾ÐÅÏ¢ÊäË͵ÄÄ¿µÄµØÊÇ¿ØÖÆÌ¨¡¢Îļþ¡¢GUI×é¼þ¡¢ÉõÖÁÊÇÌ×½Ó¿Ú·þÎñ Æ÷¡¢NTµÄʼþ¼Ç¼Æ÷¡¢UNIX SyslogÊØ»¤½ø³ÌµÈ;ÎÒÃÇÒ²¿ÉÒÔ¿ØÖÆÃ¿Ò»ÌõÈÕÖ¾µÄÊä³ö¸ñʽ;ͨ¹ý¶¨ÒåÿһÌõÈÕÖ¾ÐÅÏ¢µÄ¼¶±ð£¬ÎÒÃÇÄܹ»¸ü¼ÓϸÖµؿØÖÆÈÕÖ¾µÄÉú³É¹ý³Ì¡£×îÁîÈ˸ÐÐËȤµÄ¾Í ÊÇ£¬ÕâЩ¿ÉÒÔͨ¹ýÒ»¸öÅäÖÃÎļþÀ´Áé»îµØ½øÐÐÅäÖ㬶ø²»ÐèÒªÐÞ¸ÄÓ¦ÓõĴúÂë¡£
ÐÂÌØÐÔ£º
o LOG4J2-1395: Add "direct" option to ConsoleAppender for increased performance.
o LOG4J2-1437: (GC) ObjectMessage and ReusableObjectMessage now avoid calling toString()
on auto-boxed primitive parameters.
o LOG4J2-1415: (GC) ParameterFormatter now avoids calling toString() on auto-boxed primitive
message parameters.
o LOG4J2-1412: Unbox utility's ringbuffer of StringBuilders is now configurable.
Bug ÐÞ¸´£º
o LOG4J2-904: If copy and delete fails in rename action then resort to truncating the source
file after copying it. Thanks to Bernhard Mähr.
o LOG4J2-1250: CronTriggeringPolicy was not properly setting the prevFileTime value for the
PatternProcessor so file dates and times on rolled files were incorrect.
o LOG4J2-1452: Fixed issue where reusable messages broke flow tracing logic. Thanks to Mikael
Ståldal.
o LOG4J2-1440: Fix bug in OnStartupTriggeringPolicy that allowed it to roll over on every
reconfiguration. Added minSize attribute.
o LOG4J2-1414: Fixed minor issues with the 2.6.1 web site. Thanks to Ralph Goers.
o LOG4J2-1434: Ensure that the thread-local StringBuilders used by Layouts to format log
events to text will not retain excessive memory after a large message was logged. Thanks to Luke Butters.
o LOG4J2-1418: Provide MessageFactory2 to custom Logger implementations.
o LOG4J2-1420: RollingRandomAccessFileManager was not properly rolling over on startup and was getting a NullPointerException.
o LOG4J2-1417: Fixed issue where Unbox utility ignored the value Constants.ENABLE_THREADLOCALS
and always stored non-JDK classes in ThreadLocals.
o LOG4J2-1422: Fixed issue where AsyncAppenderQueueFullPolicyTest sometimes hangs.
o LOG4J2-1445: OnStartupTriggeringPolicyTest fails on Windows saying the file is used by another process. Thanks to Ludovic HOCHET.
¸üУº
o LOG4J2-1432: Update Jackson from 2.7.4 to 2.7.5.
o LOG4J2-1433: Update Jansi from 1.11 to 1.13.
o LOG4J2-1444: Update Apache Commons Compress from 1.11 to 1.12.
ÏÂÔØµØÖ·£ºhttp://logging.apache.org/log4j/1.2/download.html
À´×Ô:¿ªÔ´ÖйúÉçÇø

