On Wed, Jun 26, 2019 at 8:40 AM Gary Gregory <[email protected]> wrote:
> FYI, running 'mvn apache-rat:check' fails on log4j-cassandra/.toDelete > Ah, I can see that we have .gitignore set up to ignore this file so I deleted it and ran 'mvn apache-rat:check' again and got: [INFO] --< org.apache.logging.log4j.samples:log4j-spring-cloud-config-sample-server >-- [INFO] Building Log4j Sample Configuration Service 2.12.0 [38/40] [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 17 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 kB at 26 kB/s) [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache Log4j 2 2.12.0: [INFO] [INFO] Apache Log4j 2 ..................................... SUCCESS [ 1.859 s] [INFO] Apache Log4j API Java 9 support .................... SUCCESS [ 0.125 s] [INFO] Apache Log4j API ................................... SUCCESS [ 0.454 s] [INFO] Apache Log4j Implementation Java 9 support ......... SUCCESS [ 0.079 s] [INFO] Apache Log4j Core .................................. SUCCESS [ 1.183 s] [INFO] Apache Log4j Core Integration Tests ................ SUCCESS [ 0.088 s] [INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [ 0.198 s] [INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [ 0.082 s] [INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [ 0.099 s] [INFO] Apache Log4j SLF4J 1.8+ Binding .................... SUCCESS [ 0.095 s] [INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [ 0.092 s] [INFO] Apache Log4j Flume Bridge .......................... SUCCESS [ 0.090 s] [INFO] Apache Log4j Web ................................... SUCCESS [ 0.092 s] [INFO] Apache Log4j Tag Library ........................... SUCCESS [ 0.104 s] [INFO] Apache Log4j JMX GUI ............................... SUCCESS [ 0.082 s] [INFO] Apache Log4j Samples ............................... SUCCESS [ 0.113 s] [INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [ 0.085 s] [INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [ 0.075 s] [INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [ 0.079 s] [INFO] Apache Log4j Samples: Configuration ................ SUCCESS [ 0.069 s] [INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [ 0.084 s] [INFO] Apache Log4j BOM ................................... SUCCESS [ 0.189 s] [INFO] Apache Log4j JDBC DBCP 2 ........................... SUCCESS [ 0.069 s] [INFO] Apache Log4j JPA ................................... SUCCESS [ 0.112 s] [INFO] Apache Log4j CouchDB ............................... SUCCESS [ 0.073 s] [INFO] Apache Log4j MongoDB 2 ............................. SUCCESS [ 0.082 s] [INFO] Apache Log4j MongoDB 3 ............................. SUCCESS [ 0.091 s] [INFO] Apache Log4j Cassandra ............................. SUCCESS [ 0.076 s] [INFO] Apache Log4J Performance Tests ..................... SUCCESS [ 0.273 s] [INFO] Apache Log4j Streaming Interface ................... SUCCESS [ 0.103 s] [INFO] Apache Log4j JUL Adapter ........................... SUCCESS [ 0.093 s] [INFO] Apache Log4j Liquibase Binding ..................... SUCCESS [ 0.067 s] [INFO] Apache Log4j App Server Support .................... SUCCESS [ 0.071 s] [INFO] Apache Log4j OSGi .................................. SUCCESS [ 0.071 s] [INFO] Apache Log4j Docker Library ........................ SUCCESS [ 0.081 s] [INFO] Apache Log4j Spring Cloud Config Support ........... SUCCESS [ 0.110 s] [INFO] Apache Log4j Spring Cloud Config Client Support .... SUCCESS [ 0.083 s] [INFO] Log4j Sample Configuration Service ................. FAILURE [ 1.429 s] [INFO] Apache Log4j Spring Cloud Config Samples ........... SKIPPED [INFO] Spring Cloud Config Sample Application ............. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.809 s [INFO] Finished at: 2019-06-26T08:55:03-04:00 [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'apache-rat' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\ggregory\.m2\repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException How does that make any sense? Gary > > Gary > > On Tue, Jun 25, 2019 at 11:59 PM Ralph Goers <[email protected]> > wrote: > >> This is a vote to release Log4j 2.12.0, the next version of the Log4j 2 >> project. >> >> Please download, test, and cast your votes on the log4j developers list. >> [] +1, release the artifacts >> [] -1, don't release because... >> >> The vote will remain open for 72 hours (or more if required). All votes >> are welcome and we encourage everyone to test the release, but only Logging >> PMC votes are “officially” counted. As always, at least 3 +1 votes and more >> positive than negative votes are required. >> >> Changes in this release include: >> >> New Features >> >> • LOG4J2-2403: Allow zero padding the counter of a >> RollingFileAppender. Thanks to hupfdule. >> • LOG4J2-2427: Add filter that will match events when no marker >> is present. Thanks to Rimaljit Kaur. >> • LOG4J2-2406: Add reconfiguration methods to Configurator. >> • LOG4J2-913: Add support for reconfiguration via HTTP(S), >> Docker, and Spring Cloud Configuration. >> • LOG4J2-2586: TCP Appender should support a host name resolving >> to multiple IP addresses. >> • LOG4J2-2337: Allow custom end-of-line with JsonLayout. Thanks >> to Arvind Sahare, Patrice Ferrot. >> • LOG4J2-2598: GZIP compression on rollover supports configurable >> compression levels. Thanks to Carter Kozak. >> • LOG4J2-2611: AsyncQueueFullPolicy configuration short values >> "Default" and "Discard" are case insensitive to avoid confusion. >> • LOG4J2-2634: Add and use method >> org.apache.logging.log4j.message.MapMessage.toKey(String) for simpler >> subclasses. >> Fixed Bugs >> >> • LOG4J2-2547: RollingRandomAccessFileAppender error message >> referenced incorrect class name. >> • LOG4J2-2616: Restore constructor to ThrowablePatternConverter >> that was removed in 2.8.2. >> • LOG4J2-2622: StructuredDataId was ignoring maxLength atribute. >> • LOG4J2-2636: RFC5424Layout was not properly setting default >> Structured Element id for the MDC >> • LOG4J2-1143: Lookups were not found if the plugin key was not >> lowercase. Thanks to Pascal Heinrich. >> • LOG4J2-1852: Locate plugins within a Jar using a URL >> Connection. Thanks to Tanner Altares. >> • LOG4J2-2610: Explicitly set file creation time. >> • LOG4J2-2561: JEP223 version detection fix for JDK 9 and up. >> Thanks to Ulrich Enslin. >> • LOG4J2-1103: FailoverAppender was failing with ERROR appender >> Failover has no parameter that matches element Failovers. Thanks to Seán >> Dunne. >> • LOG4J2-2602: Update file time when size based triggering policy >> is used without a time-based triggering policy. >> • LOG4J2-2597: Throw better exception message when both >> log4j-slf4j-impl and log4j-to-slf4j are present. >> • LOG4J2-2559: NullPointerException in >> JdbcAppender.createAppender(). Thanks to Li Lei, Gary Gregory. >> • LOG4J2-2592: StackOverflowException when server not reachable >> with SocketAppender. Thanks to Dávid Kaya, Gary Gregory. >> • LOG4J2-2598: java.lang.StackOverflowError at >> org.apache.logging.log4j.junit.AbstractExternalFileCleaner.println(AbstractExternalFileCleaner.java:169). >> Thanks to Gary Gregory. >> • LOG4J2-2564: MapPatternConverter is properly created from the >> '%K', '%map', and '%MAP' patterns. PatternConverter instanceOf methods with >> unknown parameter types no longer elide those with known parameters. >> • LOG4J2-2612: NullPointerException at >> org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager.writeInternal(JdbcDatabaseManager.java:803). >> • LOG4J2-2618: Possible ClassCastException in >> org.apache.logging.log4j.core.script.ScriptManager.ScriptManager(Configuration, >> WatchManager) >> • LOG4J2-2631: RoutingAppender PurgePolicy implementations no >> longer stop appenders referenced from the logger configuration, only those >> that have been created by the RoutingAppender. Note that >> RoutingAppender.getAppenders no longer includes entries for referenced >> appenders, only those which it has created. >> • LOG4J2-2629: Fix a race allowing events not to be recorded when >> a RoutingAppender purge policy attempts to delete an idle appender at >> exactly the same time as a new event is recorded. >> • LOG4J2-2606: Asynchronous logging when the queue is full no >> longer results in heavy CPU utilization and low throughput. >> Changes >> >> • : Update tests from H2 1.4.197 to 1.4.199. Thanks to Gary >> Gregory. >> • LOG4J2-2570: Update Jackson from 2.9.7 to 2.9.8. Thanks to Gary >> Gregory. >> • LOG4J2-2574: Update MongoDB 3 module driver from 3.9.0 to >> 3.10.1. Thanks to Gary Gregory. >> • LOG4J2-2619: Update Jackson from 2.9.8 to 2.9.9. >> • LOG4J2-2634: Refactor several AsyncLogger methods below the 35 >> byte threshold for inlining. >> >> Tag: >> a) for a new copy do "git clone >> https://github.com/apache/logging-log4j2.git" and then "git checkout >> tags/log4j-2.12.0-rc2” >> b) for an existing working copy to “git pull” and then “git checkout >> tags/log4j-2.12.0-rc2” >> >> Web Site: http://rgoers.github.io/log4j2-site/index.html. >> >> Maven Artifacts: >> https://repository.apache.org/content/repositories/orgapachelogging-1047 >> >> Distribution archives: >> https://dist.apache.org/repos/dist/dev/logging/log4j/ >> >> You may download all the Maven artifacts by executing: >> wget -e robots=off --cut-dirs=7 -nH -r -p -np --no-check-certificate >> https://repository.apache.org/content/repositories/orgapachelogging-1047/org/apache/logging/log4j/ >> >> Ralph >> >
