Return-Path: X-Original-To: apmail-geode-issues-archive@minotaur.apache.org Delivered-To: apmail-geode-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CBADB17314 for ; Tue, 6 Oct 2015 19:17:34 +0000 (UTC) Received: (qmail 24006 invoked by uid 500); 6 Oct 2015 19:17:34 -0000 Delivered-To: apmail-geode-issues-archive@geode.apache.org Received: (qmail 23972 invoked by uid 500); 6 Oct 2015 19:17:34 -0000 Mailing-List: contact issues-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list issues@geode.incubator.apache.org Received: (qmail 23963 invoked by uid 99); 6 Oct 2015 19:17:34 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2015 19:17:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 317D91801DD for ; Tue, 6 Oct 2015 19:17:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.97 X-Spam-Level: X-Spam-Status: No, score=0.97 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id LWG6abuNQ-RE for ; Tue, 6 Oct 2015 19:17:27 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id E8AF020F20 for ; Tue, 6 Oct 2015 19:17:26 +0000 (UTC) Received: (qmail 23542 invoked by uid 99); 6 Oct 2015 19:17:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2015 19:17:26 +0000 Date: Tue, 6 Oct 2015 19:17:26 +0000 (UTC) From: "Kirk Lund (JIRA)" To: issues@geode.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (GEODE-374) Upgrade Geode to use Log4j 2.4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GEODE-374?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Kirk Lund reassigned GEODE-374: ------------------------------- Assignee: Kirk Lund > Upgrade Geode to use Log4j 2.4 > ------------------------------ > > Key: GEODE-374 > URL: https://issues.apache.org/jira/browse/GEODE-374 > Project: Geode > Issue Type: Improvement > Reporter: Kirk Lund > Assignee: Kirk Lund > > From announce@apache.org: > {noformat} > The Apache Log4j 2 team is pleased to announce the Log4j 2.4 release! > Apache log4j is a well known framework for logging application behavior. = Log4j 2 is an upgrade to > Log4j that provides significant improvements over its predecessor, Log4j = 1.x, and provides > many other modern features such as support for Markers, property substitu= tion using Lookups, and asynchronous > Loggers. In addition, Log4j 2 will not lose events while reconfiguring. > This is the eighth GA release. It contains several bugfixes and new featu= res. As of this release > Log4j now requires a minimum of Java 7. > GA Release 2.4 > Changes in this version include: > New features: > o LOG4J2-635: Add support for configuration via Properties.=20 > o LOG4J2-952: Add ConfigurationBuilder.=20 > o LOG4J2-599: Added support for Java 8 lambda expressions to lazily cons= truct a log message only if > the requested log level is enabled.=20 > o LOG4J2-1118: Updated Logger wrapper generator tool to add Java 8 lambd= a support for custom log levels.=20 > o LOG4J2-1107: New Appender for Apache Kafka. Thanks to Mikael St=C3=A5l= dal.=20 > o LOG4J2-1113: New publisher Appender for ZeroMQ (using JeroMQ). Thanks = to Gary Gregory.=20 > o LOG4J2-1088: Add Comma Separated Value (CSV) layouts for parameter and= event logging. Thanks to Gary Gregory.=20 > o LOG4J2-1090: Add Core Configurator APIs to change a logger's level.=20 > o LOG4J2-1105: Add API org.apache.logging.log4j.Level.isInRange(Level, L= evel). Thanks to Gary Gregory.=20 > o LOG4J2-1106: Add a LevelRangeFilter class. Thanks to Gary Gregory.=20 > o LOG4J2-1076: Added support for system nanosecond time in pattern layou= t.=20 > o LOG4J2-1075: Added support for compressing to bzip2 format on file rol= lover.=20 > o LOG4J2-1077: Support additional Apache Commons Compress compression fo= rmats on rollover: Deflate, Pack200, XY.=20 > o LOG4J2-767: New module for Liquibase integration. Thanks to Mikael St= =C3=A5ldal.=20 > o LOG4J2-1023: New RewritePolicy for changing level of a log event. Than= ks to Mikael St=C3=A5ldal.=20 > o LOG4J2-1015: Add a way to route messages based on the %marker in Layou= t for RoutingAppender. Thanks to Daniel Marcotte.=20 > o LOG4J2-1050: Add a Log4jLookup class to help write log files relative = to log4j2.xml. Thanks to Adam Retter.=20 > o LOG4J2-1057: Add API org.apache.logging.log4j.LogManager.getFormatterL= ogger().=20 > o LOG4J2-1066: Expose Log4jContextFactory's ShutdownCallbackRegistry. Th= anks to Charles Allen.=20 > Fixed Bugs: > o LOG4J2-1121: Fixed potential race condition on reconfiguration. Introd= uced ReliabilityStrategy to facilitate > switching between different mechanisms for preventing log events = from being dropped on reconfiguration.=20 > o LOG4J2-1123: Core Configurator.initialize(String, ClassLoader, String)= fails to work when config location is a file path. Thanks to Gary Gregory.= =20 > o LOG4J2-1117: OutputStreamManager in ConsoleAppender leaking managers. = Thanks to Marcus Thiesen.=20 > o LOG4J2-1044: Write pending events to Flume when the appender is stoppe= d.=20 > o LOG4J2-1108: NullPointerException when passing null to java.util.loggi= ng.Logger.setLevel(). Thanks to Mikael St=C3=A5ldal.=20 > o LOG4J2-1110: org.apache.logging.log4j.jul.CoreLogger.setLevel() checks= for security permission too late.=20 > o LOG4J2-1084: Misleading StatusLogger WARN event in LogManager with jav= a.util.Map. Thanks to Philipp Schneider.=20 > o LOG4J2-1051: NoClassDefFoundError when starting app on Google App Engi= ne. Thanks to Lukasz Lenart.=20 > o LOG4J2-684: ExtendedThrowablePatternConverter does not print suppresse= d exceptions. Thanks to Joern Huxhorn, Mauro Molinari.=20 > o LOG4J2-1069: Improper handling of JSON escape chars when deserializing= JSON log events. Thanks to Sam Braam.=20 > o LOG4J2-1068: Exceptions not logged when using TcpSocketServer + Serial= izedLayout. Thanks to Andy McMullan.=20 > o LOG4J2-1067: ThrowableProxy getExtendedStackTraceAsString throws NPE o= n deserialized nested exceptions. Thanks to Sam Braam.=20 > o LOG4J2-1049: AsyncAppender now resets the thread interrupted flag afte= r catching InterruptedException. Thanks to Robert Schaft.=20 > o LOG4J2-1048: FileConfigurationMonitor unnecessarily calls System.curre= ntTimeMillis() causing high CPU usage. Thanks to Nikhil.=20 > o LOG4J2-1037: Backward compatibility issue in log4j-1.2-api NDC pop() a= nd peek(). Thanks to Marc Dergacz.=20 > o LOG4J2-1025: Custom java.util.logging.Level gives null Log4j Level and= causes NPE. Thanks to Mikael St=C3=A5ldal.=20 > o LOG4J2-1033: SimpleLogger creates unnecessary Map objects by calling T= hreadContext.getContext() instead of getImmutableContext(). Thanks to Mikae= l St=C3=A5ldal.=20 > o LOG4J2-1026: HighlightConverter does not obey noConsoleNoAnsi.=20 > o LOG4J2-1019: ZipCompressAction leaves files open until GC when an IO e= rror takes place.=20 > o LOG4J2-1020: GzCompressAction leaves files open until GC when an IO er= ror takes place.=20 > o LOG4J2-1038: Incorrect documentation for layout default charset. Thank= s to Gili.=20 > o LOG4J2-1042: Socket and Syslog appenders don't take timeout into accou= nt at startup. Thanks to Guillaume Turri.=20 > o LOG4J2-934: Circular suppressed Exception throws StackOverflowError. T= hanks to Kenneth Gendron.=20 > o LOG4J2-1046: Circular Exception cause throws StackOverflowError. Thank= s to Kenneth Gendron.=20 > o LOG4J2-982: Use System.nanoTime() to measure time intervals. Thanks to= Mikhail Mazurskiy.=20 > o LOG4J2-1045: Externalize log4j2.xml via URL resource. Thanks to G=C3= =BCnter Albrecht.=20 > o LOG4J2-1058: Log4jMarker#contains(String) does not respect org.slf4j.M= arker contract. Thanks to Daniel Branzea.=20 > o LOG4J2-1060: Log4jMarker#contains(Marker) does not respect org.slf4j.M= arker contract.=20 > o LOG4J2-1061: Log4jMarker#remove(Marker) does not respect org.slf4j.Mar= ker contract.=20 > o LOG4J2-1062: Log4jMarker#add(Marker) does not respect org.slf4j.Marker= contract.=20 > o LOG4J2-1064: org.apache.logging.slf4j.Log4jMarker does not implement o= rg.slf4j.Marker.equals(Object) org.slf4j.Marker.hashCode().=20 > o LOG4J2-889: Header in layout should not be written on application star= tup if appending to an existing file. Fixes LOG4J2-1030. Thanks to Maciej K= ara=C5=9B, Kenneth Leider.=20 > o LOG4J2-918: Clarify documentation for combining async with sync logger= s.=20 > o LOG4J2-1078: GelfLayout throws exception if some log event fields are = null. Thanks to Mikael St=C3=A5ldal.=20 > Changes: > o LOG4J2-1017: Update Java platform from Java 6 to 7. From this version = onwards, log4j 2 requires Java 7.=20 > o LOG4J2-812: PatternLayout timestamp formatting performance improvement= : replaced synchronized SimpleDateFormat with > Apache Commons FastDateFormat. This and better caching resulted i= n a ~3-30X faster timestamp formatting.=20 > o LOG4J2-1097: PatternLayout timestamp formatting performance improvemen= t: predefined date formats (and variants using > a period '.' millisecond separator instead of ',') are now format= ted ~2-10X faster than other date formats.=20 > o LOG4J2-1096: Improved performance of ParameterizedMessage::getFormatte= dMessage by ~2X.=20 > o LOG4J2-1120: LoggerConfig performance improvements: avoid unnecessary = lock acquisition, use more efficient data structure.=20 > o LOG4J2-1125: PatternLayout performance improvement by caching and reus= ing a ThreadLocal StringBuilder.=20 > o LOG4J2-1114: Add thread name to status logger layout.=20 > o LOG4J2-1010: Pass log event when interpolating logger properties.=20 > o LOG4J2-1044: Support batchSize in FlumeAvroManager.=20 > o LOG4J2-1065: Define org.apache.logging.log4j.Marker.equals(Object) and= org.apache.logging.log4j.Marker.hashCode().=20 > o LOG4J2-1063: Avoid creating temporary array object in org.apache.loggi= ng.slf4j.Log4jMarker.iterator().=20 > o LOG4J2-890: log4j-web-2.1 should workaround a bug in JBOSS EAP 6.2. Th= anks to Hassan Kalaldeh, Robert Andersson, Remko Popma.=20 > o LOG4J2-403: MongoDB appender, username and password should be optional= . Thanks to Poorna Subhash P, Jeremy Lautman.=20 > o LOG4J2-1035: Log4j2 tries to SystemClassLoader when running on Google = AppEngine.=20 > o LOG4J2-1022: Allow a list of keys to be specified in the MDC pattern c= onverter.=20 > o LOG4J2-959: Fix FindBugs DM_DEFAULT_ENCODING bug in SimpleLogger.logMe= ssage() and simplify code.=20 > o LOG4J2-1036: Update Apache Flume from 1.5.2 to 1.6.0.=20 > o LOG4J2-1041: Update MongoDB driver from 2.11.2 to 2.13.2.=20 > o LOG4J2-1018: Update database tests from H2 1.3.175 to 1.3.176.=20 > o LOG4J2-1070: Update Java Mail from 1.5.2 to 1.5.4.=20 > o LOG4J2-1079: Update Jackson from 2.5.3 to 2.5.4.=20 > o LOG4J2-1879: Update Jackson from 2.5.4 to 2.6.0.=20 > o LOG4J2-1092: Update Jackson from 2.6.0 to 2.6.1.=20 > o LOG4J2-1104: Update Apache Commons Compress from 1.9 to 1.10.=20 > Removed: > o Removed experimental interface LevelLogger which got committed to maste= r by mistake.=20 > Apache Log4j 2.4 requires a minimum of Java 7 to build and run. Log4j 2.4= and greater requires Java 7, > version 2.3 required Java 6. > Basic compatibility with Log4j 1.x is provided through the log4j-1.2-api = component, however it does not implement some of the > very implementation specific classes and methods. The package names and M= aven groupId have been changed to > org.apache.logging.log4j to avoid any conflicts with log4j 1.x. > For complete information on Apache Log4j 2, including instructions on how= to submit bug reports, > patches, or suggestions for improvement, see the Apache Apache Log4j 2 we= bsite: > http://logging.apache.org/log4j/2.x/ > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)