You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by Ralph Goers <ra...@dslextreme.com> on 2021/03/07 06:46:29 UTC
[VOTE] Release Log4j 2.14.1-rc1
This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend with "mdc" resolver.
• LOG4J2-2999: Replace JsonTemplateLayout resolver configurations table in docs with sections.
• LOG4J2-2993: Support stack trace truncation in JsonTemplateLayout.
Fixed Bugs
• LOG4J2-3033: Add log method with no parameters - i.e. it has an empty message.
• LOG4J2-2947: Document that LogBuilder default methods do nothing.
• LOG4J2-2948: Replace HashSet with IdentityHashMap in ParameterFormatter to detect cycles.
• LOG4J2-3028: OutputStreamManager.flushBuffer always resets the buffer, previously the buffer was not reset after an exception. Thanks to Jakub Kozlowski.
• LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause the file to roll over with DirectWriteTriggeringPolicy unless minSize was set to 0.
• LOG4J2-2990: Reduce garbage by using putAll when copying the ThreadContext for SLF4J. Thanks to Diogo Monteiro.
• LOG4J2-3006: Directly create a thread instead of using the common ForkJoin pool when initializing ThreadContextDataInjector"
• LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be turned off and provide a ServletContextListener "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the listener at the top of web.xml to ensure the shutdown happens last. Thanks to Tim Perry.
• LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be turned off and provide a ServletContextListener "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the listener at the top of web.xml to ensure the shutdown happens last. Thanks to Tim Perry.
• LOG4J2-2998: Fix truncation of excessive strings ending with a high surrogate in JsonWriter.
• LOG4J2-2973: Rename EventTemplateAdditionalField#type (conflicting with properties file parser) to "format". Thanks to Fabio Ricchiuti.
• LOG4J2-2972: Refactor AsyncAppender and AppenderControl for handling of Throwables.
• LOG4J2-2985: Add eventTemplateRootObjectKey parameter to JsonTemplateLayout.
• LOG4J2-2974: Log4j would fail to initialize in Java 8 with log4j-spring-boot.
• LOG4J2-2964: Merge packages from several Configurations in Composite Configuration. Thanks to Valery Yatsynovich.
• LOG4J2-2961: Fix reading of JsonTemplateLayout event additional fields from config.
• LOG4J2-2916: Avoid redundant Kafka producer instantiation causing thread leaks. Thanks to wuqian0808.
• LOG4J2-2967: Fix JsonTemplateLayout index based parameter resolution when messages contain too few parameters.
• LOG4J2-2976: JdbcAppender composes an incorrect INSERT statement without a ColumnMapping element.
• LOG4J2-3014: Log4j1ConfigurationConverter on Windows produces " " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
Changes
• LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration files are updated.
• : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6, and Spring Cloud to Hoxton.SR9
• : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
• : Update commons-codec:commons-codec 1.14 -> 1.15.
• : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
• : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
• : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
• : Update commons-io:commons-io 2.7 -> 2.8.0.
• : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
• : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
• : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
• : Update junit:junit 4.13 -> 4.13.1.
• : Update org.xmlunit:* 2.7.0 -> 2.8.0.
• : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
• : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
• : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
• : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6 -> 3.12.7.
• : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
• : Update org.eclipse.tycho:org.eclipse.osgi 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
• : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0 -> 3.0.0.
• : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
• : Update Mockito 3.6.0 -> 3.7.0.
• : Update XML Unit 2.8.0 -> 2.8.2.
• : Update JSON Unit 2.21.0 -> 2.22.0.
• : Update JaCoCo 0.8.3 -> 0.8.6.
• : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
• : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
• : Update org.springframework:* 5.3.2 -> 5.3.3.
• : Update mongodb4.version 4.1.1 -> 4.2.0.
• : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
• : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
• : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
• : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
• : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
• : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
• : Update org.springframework:* 5.3.2 -> 5.3.3.
• : Update mongodb4.version 4.1.1 -> 4.2.0.
• : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
• : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
• : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
• : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
• com.fasterxml.jackson.core:jackson-annotations ................. 2.12.1 -> 2.12.2
- com.fasterxml.jackson.core:jackson-core ........................ 2.12.1 -> 2.12.2
- com.fasterxml.jackson.core:jackson-databind .................... 2.12.1 -> 2.12.2
- com.fasterxml.jackson.dataformat:jackson-dataformat-xml ........ 2.12.1 -> 2.12.2
- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml ....... 2.12.1 -> 2.12.2
- com.fasterxml.jackson.module:jackson-module-jaxb-annotations ... 2.12.1 -> 2.12.2
- org.apache.commons:commons-lang3 ............................... 3.11 -> 3.12.0
- org.junit.jupiter:junit-jupiter-engine ......................... 5.7.0 -> 5.7.1
- org.junit.jupiter:junit-jupiter-migrationsupport ............... 5.7.0 -> 5.7.1
- org.junit.jupiter:junit-jupiter-params ......................... 5.7.0 -> 5.7.1
- org.junit.vintage:junit-vintage-engine ......................... 5.7.0 -> 5.7.1
- org.mockito:mockito-core ....................................... 3.7.7 -> 3.8.0
- org.mockito:mockito-junit-jupiter .............................. 3.7.7 -> 3.8.0
- org.mongodb:bson ............................................... 4.2.0 -> 4.2.2
- org.mongodb:mongodb-driver-sync ................................ 4.2.0 -> 4.2.2
Tag:
a) for a new copy do "git clone https://github.com/apache/logging-log4j2.git" and then "git checkout tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1 https://github.com/apache/logging-log4j2.git"
b) for an existing working copy to “git pull” and then “git checkout tags/log4j-2.14.1-rc1”
Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
Maven Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1062
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-1062/org/apache/logging/log4j/
Ralph
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Volkan Yazıcı <vo...@gmail.com>.
Thanks so much Ralph, I can indeed view
https://logging.staged.apache.org/log4j/2.x/manual/json-template-layout.html
https://logging.staged.apache.org/log4j/2.x/manual/layouts.html#JsonTemplateLayout
still misses the correction I have shared, but not a big issue.
I can clean it up later on.
On Sun, Mar 7, 2021 at 11:39 PM Ralph Goers <ra...@dslextreme.com>
wrote:
> Json-Template-layout is available in the staging site now.
>
> Ralph
>
> > On Mar 7, 2021, at 2:16 PM, Ralph Goers <ra...@dslextreme.com>
> wrote:
> >
> > I will rebuild the site and update that one file.
> >
> > Ralph
> >
> >> On Mar 7, 2021, at 2:13 PM, Ralph Goers <ra...@dslextreme.com>
> wrote:
> >>
> >> The generated site contains json-template-layout.vm.html in the manual
> directory. I see json-template-layout.vm.adoc in the source, which I
> suspect is the source of the problem. I believe the file needs to be named
> json-template-layout.adoc.vm to be processed by velocity and end up with an
> adoc file.
> >>
> >> Ralph
> >>
> >>> On Mar 7, 2021, at 2:08 PM, Volkan Yazıcı <vo...@gmail.com>
> wrote:
> >>>
> >>> Ah! If that is the case, definitely +1! (Sorry for the inconvenience.)
> >>>
> >>> On Sun, 7 Mar 2021, 22:06 Gary Gregory <ga...@gmail.com> wrote:
> >>>
> >>>> I don't think we need to fail the RC if the site generation is the
> only
> >>>> item impacted as opposed to the running software since its relatively
> easy
> >>>> to fix the site after the release. Up to the RM of course ;-)
> >>>>
> >>>> Gary
> >>>>
> >>>>
> >>>> On Sun, Mar 7, 2021, 15:58 Ralph Goers <ra...@dslextreme.com>
> wrote:
> >>>>
> >>>>> See - https://issues.apache.org/jira/projects/MDOAP/issues/MDOAP-61.
> >>>> This
> >>>>> is documented as part of the release process.
> >>>>>
> >>>>> I don’t understand the impact of the missing
> json-template-layout.html.
> >>>>> Is that from the web site? Was it present in 2.14.0 and why is it
> missing
> >>>>> now?
> >>>>>
> >>>>> Ralph
> >>>>>
> >>>>>
> >>>>>
> >>>>>> On Mar 7, 2021, at 1:37 PM, Volkan Yazıcı <vo...@gmail.com>
> >>>>> wrote:
> >>>>>>
> >>>>>> -1, due to missing `json-template-layout.html` file!
> >>>>>>
> >>>>>> `./mvnw site` fails for me thanks to maven-doap-plugin:
> >>>>>>
> >>>>>> [ERROR] Failed to execute goal
> >>>>>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate (site) on
> >>>> project
> >>>>>> log4j: Execution site of goal
> >>>>>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate failed: An
> API
> >>>>>> incompatibility was encountered while executing
> >>>>>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate:
> >>>>>> java.lang.ExceptionInInitializerError: null
> >>>>>> [ERROR] -----------------------------------------------------
> >>>>>> [ERROR] realm =
> >>>> plugin>org.apache.maven.plugins:maven-doap-plugin:1.2
> >>>>>> [ERROR] strategy =
> >>>>>> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> >>>>>> [ERROR] urls[0] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/org/apache/maven/plugins/maven-doap-plugin/1.2/maven-doap-plugin-1.2.jar
> >>>>>> [ERROR] urls[1] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> >>>>>> [ERROR] urls[2] =
> >>>>>> file:/home/vy/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> >>>>>> [ERROR] urls[3] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-api/1.9.2/maven-scm-api-1.9.2.jar
> >>>>>> [ERROR] urls[4] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-manager-plexus/1.9.2/maven-scm-manager-plexus-1.9.2.jar
> >>>>>> [ERROR] urls[5] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svn-commons/1.9.2/maven-scm-provider-svn-commons-1.9.2.jar
> >>>>>> [ERROR] urls[6] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svnexe/1.9.2/maven-scm-provider-svnexe-1.9.2.jar
> >>>>>> [ERROR] urls[7] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
> >>>>>> [ERROR] urls[8] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.9.2/maven-scm-provider-cvs-commons-1.9.2.jar
> >>>>>> [ERROR] urls[9] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9.2/maven-scm-provider-cvsexe-1.9.2.jar
> >>>>>> [ERROR] urls[10] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsjava/1.9.2/maven-scm-provider-cvsjava-1.9.2.jar
> >>>>>> [ERROR] urls[11] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/org/netbeans/lib/cvsclient/20060125/cvsclient-20060125.jar
> >>>>>> [ERROR] urls[12] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar
> >>>>>> [ERROR] urls[13] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
> >>>>>> [ERROR] urls[14] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
> >>>>>> [ERROR] urls[15] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar
> >>>>>> [ERROR] urls[16] =
> >>>>>>
> file:/home/vy/.m2/repository/com/hp/hpl/jena/jena/2.6.3/jena-2.6.3.jar
> >>>>>> [ERROR] urls[17] =
> >>>>>> file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8.jar
> >>>>>> [ERROR] urls[18] =
> >>>>>>
> >>>>
> file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar
> >>>>>> [ERROR] urls[19] =
> >>>>>> file:/home/vy/.m2/repository/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar
> >>>>>> [ERROR] urls[20] =
> >>>>>>
> >>>>
> file:/home/vy/.m2/repository/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar
> >>>>>> [ERROR] urls[21] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar
> >>>>>> [ERROR] urls[22] =
> >>>>>> file:/home/vy/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
> >>>>>> [ERROR] urls[23] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
> >>>>>> [ERROR] urls[24] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> >>>>>> [ERROR] urls[25] =
> >>>>>>
> >>>>>
> >>>>
> file:/home/vy/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> >>>>>> [ERROR] Number of foreign imports: 1
> >>>>>> [ERROR] import: Entry[import from realm ClassRealm[maven.api,
> parent:
> >>>>>> null]]
> >>>>>> [ERROR]
> >>>>>> [ERROR] -----------------------------------------------------
> >>>>>> [ERROR] : Invalid version number: Version number may be negative or
> >>>>> greater
> >>>>>> than 255
> >>>>>>
> >>>>>> I don't know if this is something already known. Then I fall back to
> >>>>>> `./mvnw site -DskipTests=true -Dmaven.doap.skip=true`.
> >>>>>>
> >>>>>> `layout.html` looks good, but *I could not locate
> >>>>>> `json-template-layout.html`. Instead, there is a
> >>>>>> `json-template-layout.vm.html` file. Would you mind confirming
> >>>>>> `json-template-layout.html` gets generated, please?*
> >>>>>>
> >>>>>> I will also appreciate the small correction for `layouts.xml.vm` I
> >>>> share
> >>>>>> below, though feel free to ignore it if you think this blocks the
> >>>>> release.
> >>>>>>
> >>>>>> diff --git a/src/site/xdoc/manual/layouts.xml.vm
> >>>>>> b/src/site/xdoc/manual/layouts.xml.vm
> >>>>>> index 52b415dd9..30361d9ac 100644
> >>>>>> --- a/src/site/xdoc/manual/layouts.xml.vm
> >>>>>> +++ b/src/site/xdoc/manual/layouts.xml.vm
> >>>>>> @@ -208,13 +208,14 @@ logger.debug("one={}, two={}, three={}", 1, 2,
> >>>> 3);
> >>>>>> },
> >>>>>> "exception_message": {
> >>>>>> "${dollar}resolver": "exception",
> >>>>>> - "field": "message",
> >>>>>> - "stringified": true
> >>>>>> + "field": "message"
> >>>>>> },
> >>>>>> "stacktrace": {
> >>>>>> "${dollar}resolver": "exception",
> >>>>>> "field": "stackTrace",
> >>>>>> - "stringified": true
> >>>>>> + "stackTrace": {
> >>>>>> + "stringified": true
> >>>>>> + }
> >>>>>> }
> >>>>>> },
> >>>>>> "line_number": {
> >>>>>>
> >>>>>> This has slipped through my eyes while backporting forwarded-ported
> >>>>>> LOG4J2-2993.
> >>>>>>
> >>>>>> Besides these documentation & site related issues, `./mvnw clean
> >>>> verify`
> >>>>>> works for me.
> >>>>>> OS: Ubuntu 20.04.2 LTS
> >>>>>> JDK 8: 1.8.0_272 (AdoptOpenJDK)
> >>>>>> JDK 9+: 11.0.6+10 (AdoptOpenJDK)
> >>>>>>
> >>>>>> Kind regards.
> >>>>>>
> >>>>>> On Sun, Mar 7, 2021 at 7:46 AM Ralph Goers <
> ralph.goers@dslextreme.com
> >>>>>
> >>>>>> wrote:
> >>>>>>
> >>>>>>> This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend
> >>>> with
> >>>>>>> "mdc" resolver.
> >>>>>>> • LOG4J2-2999: Replace JsonTemplateLayout resolver
> >>>> configurations
> >>>>>>> table in docs with sections.
> >>>>>>> • LOG4J2-2993: Support stack trace truncation in
> >>>>>>> JsonTemplateLayout.
> >>>>>>> Fixed Bugs
> >>>>>>>
> >>>>>>> • LOG4J2-3033: Add log method with no parameters - i.e. it has
> >>>> an
> >>>>>>> empty message.
> >>>>>>> • LOG4J2-2947: Document that LogBuilder default methods do
> >>>>> nothing.
> >>>>>>> • LOG4J2-2948: Replace HashSet with IdentityHashMap in
> >>>>>>> ParameterFormatter to detect cycles.
> >>>>>>> • LOG4J2-3028: OutputStreamManager.flushBuffer always resets
> >>>> the
> >>>>>>> buffer, previously the buffer was not reset after an exception.
> Thanks
> >>>>> to
> >>>>>>> Jakub Kozlowski.
> >>>>>>> • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause
> >>>> the
> >>>>>>> file to roll over with DirectWriteTriggeringPolicy unless minSize
> was
> >>>>> set
> >>>>>>> to 0.
> >>>>>>> • LOG4J2-2990: Reduce garbage by using putAll when copying the
> >>>>>>> ThreadContext for SLF4J. Thanks to Diogo Monteiro.
> >>>>>>> • LOG4J2-3006: Directly create a thread instead of using the
> >>>>>>> common ForkJoin pool when initializing ThreadContextDataInjector"
> >>>>>>> • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be
> >>>>>>> turned off and provide a ServletContextListener
> >>>>>>> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register
> the
> >>>>>>> listener at the top of web.xml to ensure the shutdown happens last.
> >>>>> Thanks
> >>>>>>> to Tim Perry.
> >>>>>>> • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be
> >>>>>>> turned off and provide a ServletContextListener
> >>>>>>> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register
> the
> >>>>>>> listener at the top of web.xml to ensure the shutdown happens last.
> >>>>> Thanks
> >>>>>>> to Tim Perry.
> >>>>>>> • LOG4J2-2998: Fix truncation of excessive strings ending with
> >>>> a
> >>>>>>> high surrogate in JsonWriter.
> >>>>>>> • LOG4J2-2973: Rename EventTemplateAdditionalField#type
> >>>>>>> (conflicting with properties file parser) to "format". Thanks to
> Fabio
> >>>>>>> Ricchiuti.
> >>>>>>> • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for
> >>>>>>> handling of Throwables.
> >>>>>>> • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to
> >>>>>>> JsonTemplateLayout.
> >>>>>>> • LOG4J2-2974: Log4j would fail to initialize in Java 8 with
> >>>>>>> log4j-spring-boot.
> >>>>>>> • LOG4J2-2964: Merge packages from several Configurations in
> >>>>>>> Composite Configuration. Thanks to Valery Yatsynovich.
> >>>>>>> • LOG4J2-2961: Fix reading of JsonTemplateLayout event
> >>>> additional
> >>>>>>> fields from config.
> >>>>>>> • LOG4J2-2916: Avoid redundant Kafka producer instantiation
> >>>>>>> causing thread leaks. Thanks to wuqian0808.
> >>>>>>> • LOG4J2-2967: Fix JsonTemplateLayout index based parameter
> >>>>>>> resolution when messages contain too few parameters.
> >>>>>>> • LOG4J2-2976: JdbcAppender composes an incorrect INSERT
> >>>>> statement
> >>>>>>> without a ColumnMapping element.
> >>>>>>> • LOG4J2-3014: Log4j1ConfigurationConverter on Windows
> >>>> produces "
> >>>>>>> " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
> >>>>>>> Changes
> >>>>>>>
> >>>>>>> • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration
> >>>>>>> files are updated.
> >>>>>>> • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6,
> >>>>> and
> >>>>>>> Spring Cloud to Hoxton.SR9
> >>>>>>> • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
> >>>>>>> • : Update commons-codec:commons-codec 1.14 -> 1.15.
> >>>>>>> • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
> >>>>>>> • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
> >>>>>>> • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
> >>>>>>> • : Update commons-io:commons-io 2.7 -> 2.8.0.
> >>>>>>> • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
> >>>>>>> • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
> >>>>>>> • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
> >>>>>>> • : Update junit:junit 4.13 -> 4.13.1.
> >>>>>>> • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
> >>>>>>> • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
> >>>>>>> • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
> >>>>>>> • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
> >>>>>>> • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6
> >>>> ->
> >>>>>>> 3.12.7.
> >>>>>>> • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
> >>>>>>> • : Update org.eclipse.tycho:org.eclipse.osgi
> >>>>>>> 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
> >>>>>>> • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0
> >>>> ->
> >>>>>>> 3.0.0.
> >>>>>>> • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
> >>>>>>> • : Update Mockito 3.6.0 -> 3.7.0.
> >>>>>>> • : Update XML Unit 2.8.0 -> 2.8.2.
> >>>>>>> • : Update JSON Unit 2.21.0 -> 2.22.0.
> >>>>>>> • : Update JaCoCo 0.8.3 -> 0.8.6.
> >>>>>>> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> >>>>>>> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> >>>>>>> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> >>>>>>> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> >>>>>>> • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
> >>>>>>> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> >>>>>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> >>>>>>> • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
> >>>>>>> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> >>>>>>> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> >>>>>>> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> >>>>>>> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> >>>>>>> • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
> >>>>>>> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> >>>>>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> >>>>>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> >>>>>>> • com.fasterxml.jackson.core:jackson-annotations
> >>>>>>> ................. 2.12.1 -> 2.12.2
> >>>>>>> - com.fasterxml.jackson.core:jackson-core
> >>>>>>> ........................ 2.12.1 -> 2.12.2
> >>>>>>> - com.fasterxml.jackson.core:jackson-databind
> >>>>>>> .................... 2.12.1 -> 2.12.2
> >>>>>>> - com.fasterxml.jackson.dataformat:jackson-dataformat-xml
> >>>>>>> ........ 2.12.1 -> 2.12.2
> >>>>>>> -
> >>>> com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
> >>>>>>> ....... 2.12.1 -> 2.12.2
> >>>>>>> -
> >>>>>>> com.fasterxml.jackson.module:jackson-module-jaxb-annotations ...
> >>>> 2.12.1
> >>>>> ->
> >>>>>>> 2.12.2
> >>>>>>> - org.apache.commons:commons-lang3
> >>>>>>> ............................... 3.11 -> 3.12.0
> >>>>>>> - org.junit.jupiter:junit-jupiter-engine
> >>>>>>> ......................... 5.7.0 -> 5.7.1
> >>>>>>> - org.junit.jupiter:junit-jupiter-migrationsupport
> >>>>>>> ............... 5.7.0 -> 5.7.1
> >>>>>>> - org.junit.jupiter:junit-jupiter-params
> >>>>>>> ......................... 5.7.0 -> 5.7.1
> >>>>>>> - org.junit.vintage:junit-vintage-engine
> >>>>>>> ......................... 5.7.0 -> 5.7.1
> >>>>>>> - org.mockito:mockito-core
> >>>>>>> ....................................... 3.7.7 -> 3.8.0
> >>>>>>> - org.mockito:mockito-junit-jupiter
> >>>>>>> .............................. 3.7.7 -> 3.8.0
> >>>>>>> - org.mongodb:bson
> >>>>>>> ............................................... 4.2.0 -> 4.2.2
> >>>>>>> - org.mongodb:mongodb-driver-sync
> >>>>>>> ................................ 4.2.0 -> 4.2.2
> >>>>>>>
> >>>>>>> Tag:
> >>>>>>> a) for a new copy do "git clone
> >>>>>>> https://github.com/apache/logging-log4j2.git" and then "git
> checkout
> >>>>>>> tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1
> >>>>>>> https://github.com/apache/logging-log4j2.git"
> >>>>>>> b) for an existing working copy to “git pull” and then “git
> checkout
> >>>>>>> tags/log4j-2.14.1-rc1”
> >>>>>>>
> >>>>>>> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
> >>>>>>>
> >>>>>>> Maven Artifacts:
> >>>>>>>
> >>>>>
> https://repository.apache.org/content/repositories/orgapachelogging-1062
> >>>>>>>
> >>>>>>> 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-1062/org/apache/logging/log4j/
> >>>>>>>
> >>>>>>> Ralph
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>
> >
> >
> >
>
>
>
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Ralph Goers <ra...@dslextreme.com>.
Json-Template-layout is available in the staging site now.
Ralph
> On Mar 7, 2021, at 2:16 PM, Ralph Goers <ra...@dslextreme.com> wrote:
>
> I will rebuild the site and update that one file.
>
> Ralph
>
>> On Mar 7, 2021, at 2:13 PM, Ralph Goers <ra...@dslextreme.com> wrote:
>>
>> The generated site contains json-template-layout.vm.html in the manual directory. I see json-template-layout.vm.adoc in the source, which I suspect is the source of the problem. I believe the file needs to be named json-template-layout.adoc.vm to be processed by velocity and end up with an adoc file.
>>
>> Ralph
>>
>>> On Mar 7, 2021, at 2:08 PM, Volkan Yazıcı <vo...@gmail.com> wrote:
>>>
>>> Ah! If that is the case, definitely +1! (Sorry for the inconvenience.)
>>>
>>> On Sun, 7 Mar 2021, 22:06 Gary Gregory <ga...@gmail.com> wrote:
>>>
>>>> I don't think we need to fail the RC if the site generation is the only
>>>> item impacted as opposed to the running software since its relatively easy
>>>> to fix the site after the release. Up to the RM of course ;-)
>>>>
>>>> Gary
>>>>
>>>>
>>>> On Sun, Mar 7, 2021, 15:58 Ralph Goers <ra...@dslextreme.com> wrote:
>>>>
>>>>> See - https://issues.apache.org/jira/projects/MDOAP/issues/MDOAP-61.
>>>> This
>>>>> is documented as part of the release process.
>>>>>
>>>>> I don’t understand the impact of the missing json-template-layout.html.
>>>>> Is that from the web site? Was it present in 2.14.0 and why is it missing
>>>>> now?
>>>>>
>>>>> Ralph
>>>>>
>>>>>
>>>>>
>>>>>> On Mar 7, 2021, at 1:37 PM, Volkan Yazıcı <vo...@gmail.com>
>>>>> wrote:
>>>>>>
>>>>>> -1, due to missing `json-template-layout.html` file!
>>>>>>
>>>>>> `./mvnw site` fails for me thanks to maven-doap-plugin:
>>>>>>
>>>>>> [ERROR] Failed to execute goal
>>>>>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate (site) on
>>>> project
>>>>>> log4j: Execution site of goal
>>>>>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate failed: An API
>>>>>> incompatibility was encountered while executing
>>>>>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate:
>>>>>> java.lang.ExceptionInInitializerError: null
>>>>>> [ERROR] -----------------------------------------------------
>>>>>> [ERROR] realm =
>>>> plugin>org.apache.maven.plugins:maven-doap-plugin:1.2
>>>>>> [ERROR] strategy =
>>>>>> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
>>>>>> [ERROR] urls[0] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/org/apache/maven/plugins/maven-doap-plugin/1.2/maven-doap-plugin-1.2.jar
>>>>>> [ERROR] urls[1] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
>>>>>> [ERROR] urls[2] =
>>>>>> file:/home/vy/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
>>>>>> [ERROR] urls[3] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-api/1.9.2/maven-scm-api-1.9.2.jar
>>>>>> [ERROR] urls[4] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-manager-plexus/1.9.2/maven-scm-manager-plexus-1.9.2.jar
>>>>>> [ERROR] urls[5] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svn-commons/1.9.2/maven-scm-provider-svn-commons-1.9.2.jar
>>>>>> [ERROR] urls[6] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svnexe/1.9.2/maven-scm-provider-svnexe-1.9.2.jar
>>>>>> [ERROR] urls[7] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
>>>>>> [ERROR] urls[8] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.9.2/maven-scm-provider-cvs-commons-1.9.2.jar
>>>>>> [ERROR] urls[9] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9.2/maven-scm-provider-cvsexe-1.9.2.jar
>>>>>> [ERROR] urls[10] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsjava/1.9.2/maven-scm-provider-cvsjava-1.9.2.jar
>>>>>> [ERROR] urls[11] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/org/netbeans/lib/cvsclient/20060125/cvsclient-20060125.jar
>>>>>> [ERROR] urls[12] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar
>>>>>> [ERROR] urls[13] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
>>>>>> [ERROR] urls[14] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
>>>>>> [ERROR] urls[15] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar
>>>>>> [ERROR] urls[16] =
>>>>>> file:/home/vy/.m2/repository/com/hp/hpl/jena/jena/2.6.3/jena-2.6.3.jar
>>>>>> [ERROR] urls[17] =
>>>>>> file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8.jar
>>>>>> [ERROR] urls[18] =
>>>>>>
>>>> file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar
>>>>>> [ERROR] urls[19] =
>>>>>> file:/home/vy/.m2/repository/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar
>>>>>> [ERROR] urls[20] =
>>>>>>
>>>> file:/home/vy/.m2/repository/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar
>>>>>> [ERROR] urls[21] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar
>>>>>> [ERROR] urls[22] =
>>>>>> file:/home/vy/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
>>>>>> [ERROR] urls[23] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
>>>>>> [ERROR] urls[24] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
>>>>>> [ERROR] urls[25] =
>>>>>>
>>>>>
>>>> file:/home/vy/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
>>>>>> [ERROR] Number of foreign imports: 1
>>>>>> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent:
>>>>>> null]]
>>>>>> [ERROR]
>>>>>> [ERROR] -----------------------------------------------------
>>>>>> [ERROR] : Invalid version number: Version number may be negative or
>>>>> greater
>>>>>> than 255
>>>>>>
>>>>>> I don't know if this is something already known. Then I fall back to
>>>>>> `./mvnw site -DskipTests=true -Dmaven.doap.skip=true`.
>>>>>>
>>>>>> `layout.html` looks good, but *I could not locate
>>>>>> `json-template-layout.html`. Instead, there is a
>>>>>> `json-template-layout.vm.html` file. Would you mind confirming
>>>>>> `json-template-layout.html` gets generated, please?*
>>>>>>
>>>>>> I will also appreciate the small correction for `layouts.xml.vm` I
>>>> share
>>>>>> below, though feel free to ignore it if you think this blocks the
>>>>> release.
>>>>>>
>>>>>> diff --git a/src/site/xdoc/manual/layouts.xml.vm
>>>>>> b/src/site/xdoc/manual/layouts.xml.vm
>>>>>> index 52b415dd9..30361d9ac 100644
>>>>>> --- a/src/site/xdoc/manual/layouts.xml.vm
>>>>>> +++ b/src/site/xdoc/manual/layouts.xml.vm
>>>>>> @@ -208,13 +208,14 @@ logger.debug("one={}, two={}, three={}", 1, 2,
>>>> 3);
>>>>>> },
>>>>>> "exception_message": {
>>>>>> "${dollar}resolver": "exception",
>>>>>> - "field": "message",
>>>>>> - "stringified": true
>>>>>> + "field": "message"
>>>>>> },
>>>>>> "stacktrace": {
>>>>>> "${dollar}resolver": "exception",
>>>>>> "field": "stackTrace",
>>>>>> - "stringified": true
>>>>>> + "stackTrace": {
>>>>>> + "stringified": true
>>>>>> + }
>>>>>> }
>>>>>> },
>>>>>> "line_number": {
>>>>>>
>>>>>> This has slipped through my eyes while backporting forwarded-ported
>>>>>> LOG4J2-2993.
>>>>>>
>>>>>> Besides these documentation & site related issues, `./mvnw clean
>>>> verify`
>>>>>> works for me.
>>>>>> OS: Ubuntu 20.04.2 LTS
>>>>>> JDK 8: 1.8.0_272 (AdoptOpenJDK)
>>>>>> JDK 9+: 11.0.6+10 (AdoptOpenJDK)
>>>>>>
>>>>>> Kind regards.
>>>>>>
>>>>>> On Sun, Mar 7, 2021 at 7:46 AM Ralph Goers <ralph.goers@dslextreme.com
>>>>>
>>>>>> wrote:
>>>>>>
>>>>>>> This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend
>>>> with
>>>>>>> "mdc" resolver.
>>>>>>> • LOG4J2-2999: Replace JsonTemplateLayout resolver
>>>> configurations
>>>>>>> table in docs with sections.
>>>>>>> • LOG4J2-2993: Support stack trace truncation in
>>>>>>> JsonTemplateLayout.
>>>>>>> Fixed Bugs
>>>>>>>
>>>>>>> • LOG4J2-3033: Add log method with no parameters - i.e. it has
>>>> an
>>>>>>> empty message.
>>>>>>> • LOG4J2-2947: Document that LogBuilder default methods do
>>>>> nothing.
>>>>>>> • LOG4J2-2948: Replace HashSet with IdentityHashMap in
>>>>>>> ParameterFormatter to detect cycles.
>>>>>>> • LOG4J2-3028: OutputStreamManager.flushBuffer always resets
>>>> the
>>>>>>> buffer, previously the buffer was not reset after an exception. Thanks
>>>>> to
>>>>>>> Jakub Kozlowski.
>>>>>>> • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause
>>>> the
>>>>>>> file to roll over with DirectWriteTriggeringPolicy unless minSize was
>>>>> set
>>>>>>> to 0.
>>>>>>> • LOG4J2-2990: Reduce garbage by using putAll when copying the
>>>>>>> ThreadContext for SLF4J. Thanks to Diogo Monteiro.
>>>>>>> • LOG4J2-3006: Directly create a thread instead of using the
>>>>>>> common ForkJoin pool when initializing ThreadContextDataInjector"
>>>>>>> • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be
>>>>>>> turned off and provide a ServletContextListener
>>>>>>> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
>>>>>>> listener at the top of web.xml to ensure the shutdown happens last.
>>>>> Thanks
>>>>>>> to Tim Perry.
>>>>>>> • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be
>>>>>>> turned off and provide a ServletContextListener
>>>>>>> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
>>>>>>> listener at the top of web.xml to ensure the shutdown happens last.
>>>>> Thanks
>>>>>>> to Tim Perry.
>>>>>>> • LOG4J2-2998: Fix truncation of excessive strings ending with
>>>> a
>>>>>>> high surrogate in JsonWriter.
>>>>>>> • LOG4J2-2973: Rename EventTemplateAdditionalField#type
>>>>>>> (conflicting with properties file parser) to "format". Thanks to Fabio
>>>>>>> Ricchiuti.
>>>>>>> • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for
>>>>>>> handling of Throwables.
>>>>>>> • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to
>>>>>>> JsonTemplateLayout.
>>>>>>> • LOG4J2-2974: Log4j would fail to initialize in Java 8 with
>>>>>>> log4j-spring-boot.
>>>>>>> • LOG4J2-2964: Merge packages from several Configurations in
>>>>>>> Composite Configuration. Thanks to Valery Yatsynovich.
>>>>>>> • LOG4J2-2961: Fix reading of JsonTemplateLayout event
>>>> additional
>>>>>>> fields from config.
>>>>>>> • LOG4J2-2916: Avoid redundant Kafka producer instantiation
>>>>>>> causing thread leaks. Thanks to wuqian0808.
>>>>>>> • LOG4J2-2967: Fix JsonTemplateLayout index based parameter
>>>>>>> resolution when messages contain too few parameters.
>>>>>>> • LOG4J2-2976: JdbcAppender composes an incorrect INSERT
>>>>> statement
>>>>>>> without a ColumnMapping element.
>>>>>>> • LOG4J2-3014: Log4j1ConfigurationConverter on Windows
>>>> produces "
>>>>>>> " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
>>>>>>> Changes
>>>>>>>
>>>>>>> • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration
>>>>>>> files are updated.
>>>>>>> • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6,
>>>>> and
>>>>>>> Spring Cloud to Hoxton.SR9
>>>>>>> • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
>>>>>>> • : Update commons-codec:commons-codec 1.14 -> 1.15.
>>>>>>> • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
>>>>>>> • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
>>>>>>> • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
>>>>>>> • : Update commons-io:commons-io 2.7 -> 2.8.0.
>>>>>>> • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
>>>>>>> • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
>>>>>>> • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
>>>>>>> • : Update junit:junit 4.13 -> 4.13.1.
>>>>>>> • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
>>>>>>> • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
>>>>>>> • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
>>>>>>> • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
>>>>>>> • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6
>>>> ->
>>>>>>> 3.12.7.
>>>>>>> • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
>>>>>>> • : Update org.eclipse.tycho:org.eclipse.osgi
>>>>>>> 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
>>>>>>> • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0
>>>> ->
>>>>>>> 3.0.0.
>>>>>>> • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
>>>>>>> • : Update Mockito 3.6.0 -> 3.7.0.
>>>>>>> • : Update XML Unit 2.8.0 -> 2.8.2.
>>>>>>> • : Update JSON Unit 2.21.0 -> 2.22.0.
>>>>>>> • : Update JaCoCo 0.8.3 -> 0.8.6.
>>>>>>> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
>>>>>>> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
>>>>>>> • : Update org.springframework:* 5.3.2 -> 5.3.3.
>>>>>>> • : Update mongodb4.version 4.1.1 -> 4.2.0.
>>>>>>> • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
>>>>>>> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
>>>>>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>>>>>>> • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
>>>>>>> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
>>>>>>> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
>>>>>>> • : Update org.springframework:* 5.3.2 -> 5.3.3.
>>>>>>> • : Update mongodb4.version 4.1.1 -> 4.2.0.
>>>>>>> • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
>>>>>>> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
>>>>>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>>>>>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>>>>>>> • com.fasterxml.jackson.core:jackson-annotations
>>>>>>> ................. 2.12.1 -> 2.12.2
>>>>>>> - com.fasterxml.jackson.core:jackson-core
>>>>>>> ........................ 2.12.1 -> 2.12.2
>>>>>>> - com.fasterxml.jackson.core:jackson-databind
>>>>>>> .................... 2.12.1 -> 2.12.2
>>>>>>> - com.fasterxml.jackson.dataformat:jackson-dataformat-xml
>>>>>>> ........ 2.12.1 -> 2.12.2
>>>>>>> -
>>>> com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
>>>>>>> ....... 2.12.1 -> 2.12.2
>>>>>>> -
>>>>>>> com.fasterxml.jackson.module:jackson-module-jaxb-annotations ...
>>>> 2.12.1
>>>>> ->
>>>>>>> 2.12.2
>>>>>>> - org.apache.commons:commons-lang3
>>>>>>> ............................... 3.11 -> 3.12.0
>>>>>>> - org.junit.jupiter:junit-jupiter-engine
>>>>>>> ......................... 5.7.0 -> 5.7.1
>>>>>>> - org.junit.jupiter:junit-jupiter-migrationsupport
>>>>>>> ............... 5.7.0 -> 5.7.1
>>>>>>> - org.junit.jupiter:junit-jupiter-params
>>>>>>> ......................... 5.7.0 -> 5.7.1
>>>>>>> - org.junit.vintage:junit-vintage-engine
>>>>>>> ......................... 5.7.0 -> 5.7.1
>>>>>>> - org.mockito:mockito-core
>>>>>>> ....................................... 3.7.7 -> 3.8.0
>>>>>>> - org.mockito:mockito-junit-jupiter
>>>>>>> .............................. 3.7.7 -> 3.8.0
>>>>>>> - org.mongodb:bson
>>>>>>> ............................................... 4.2.0 -> 4.2.2
>>>>>>> - org.mongodb:mongodb-driver-sync
>>>>>>> ................................ 4.2.0 -> 4.2.2
>>>>>>>
>>>>>>> Tag:
>>>>>>> a) for a new copy do "git clone
>>>>>>> https://github.com/apache/logging-log4j2.git" and then "git checkout
>>>>>>> tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1
>>>>>>> https://github.com/apache/logging-log4j2.git"
>>>>>>> b) for an existing working copy to “git pull” and then “git checkout
>>>>>>> tags/log4j-2.14.1-rc1”
>>>>>>>
>>>>>>> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>>>>>>>
>>>>>>> Maven Artifacts:
>>>>>>>
>>>>> https://repository.apache.org/content/repositories/orgapachelogging-1062
>>>>>>>
>>>>>>> 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-1062/org/apache/logging/log4j/
>>>>>>>
>>>>>>> Ralph
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>
>
>
>
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Ralph Goers <ra...@dslextreme.com>.
I will rebuild the site and update that one file.
Ralph
> On Mar 7, 2021, at 2:13 PM, Ralph Goers <ra...@dslextreme.com> wrote:
>
> The generated site contains json-template-layout.vm.html in the manual directory. I see json-template-layout.vm.adoc in the source, which I suspect is the source of the problem. I believe the file needs to be named json-template-layout.adoc.vm to be processed by velocity and end up with an adoc file.
>
> Ralph
>
>> On Mar 7, 2021, at 2:08 PM, Volkan Yazıcı <vo...@gmail.com> wrote:
>>
>> Ah! If that is the case, definitely +1! (Sorry for the inconvenience.)
>>
>> On Sun, 7 Mar 2021, 22:06 Gary Gregory <ga...@gmail.com> wrote:
>>
>>> I don't think we need to fail the RC if the site generation is the only
>>> item impacted as opposed to the running software since its relatively easy
>>> to fix the site after the release. Up to the RM of course ;-)
>>>
>>> Gary
>>>
>>>
>>> On Sun, Mar 7, 2021, 15:58 Ralph Goers <ra...@dslextreme.com> wrote:
>>>
>>>> See - https://issues.apache.org/jira/projects/MDOAP/issues/MDOAP-61.
>>> This
>>>> is documented as part of the release process.
>>>>
>>>> I don’t understand the impact of the missing json-template-layout.html.
>>>> Is that from the web site? Was it present in 2.14.0 and why is it missing
>>>> now?
>>>>
>>>> Ralph
>>>>
>>>>
>>>>
>>>>> On Mar 7, 2021, at 1:37 PM, Volkan Yazıcı <vo...@gmail.com>
>>>> wrote:
>>>>>
>>>>> -1, due to missing `json-template-layout.html` file!
>>>>>
>>>>> `./mvnw site` fails for me thanks to maven-doap-plugin:
>>>>>
>>>>> [ERROR] Failed to execute goal
>>>>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate (site) on
>>> project
>>>>> log4j: Execution site of goal
>>>>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate failed: An API
>>>>> incompatibility was encountered while executing
>>>>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate:
>>>>> java.lang.ExceptionInInitializerError: null
>>>>> [ERROR] -----------------------------------------------------
>>>>> [ERROR] realm =
>>> plugin>org.apache.maven.plugins:maven-doap-plugin:1.2
>>>>> [ERROR] strategy =
>>>>> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
>>>>> [ERROR] urls[0] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/org/apache/maven/plugins/maven-doap-plugin/1.2/maven-doap-plugin-1.2.jar
>>>>> [ERROR] urls[1] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
>>>>> [ERROR] urls[2] =
>>>>> file:/home/vy/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
>>>>> [ERROR] urls[3] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-api/1.9.2/maven-scm-api-1.9.2.jar
>>>>> [ERROR] urls[4] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-manager-plexus/1.9.2/maven-scm-manager-plexus-1.9.2.jar
>>>>> [ERROR] urls[5] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svn-commons/1.9.2/maven-scm-provider-svn-commons-1.9.2.jar
>>>>> [ERROR] urls[6] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svnexe/1.9.2/maven-scm-provider-svnexe-1.9.2.jar
>>>>> [ERROR] urls[7] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
>>>>> [ERROR] urls[8] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.9.2/maven-scm-provider-cvs-commons-1.9.2.jar
>>>>> [ERROR] urls[9] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9.2/maven-scm-provider-cvsexe-1.9.2.jar
>>>>> [ERROR] urls[10] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsjava/1.9.2/maven-scm-provider-cvsjava-1.9.2.jar
>>>>> [ERROR] urls[11] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/org/netbeans/lib/cvsclient/20060125/cvsclient-20060125.jar
>>>>> [ERROR] urls[12] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar
>>>>> [ERROR] urls[13] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
>>>>> [ERROR] urls[14] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
>>>>> [ERROR] urls[15] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar
>>>>> [ERROR] urls[16] =
>>>>> file:/home/vy/.m2/repository/com/hp/hpl/jena/jena/2.6.3/jena-2.6.3.jar
>>>>> [ERROR] urls[17] =
>>>>> file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8.jar
>>>>> [ERROR] urls[18] =
>>>>>
>>> file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar
>>>>> [ERROR] urls[19] =
>>>>> file:/home/vy/.m2/repository/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar
>>>>> [ERROR] urls[20] =
>>>>>
>>> file:/home/vy/.m2/repository/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar
>>>>> [ERROR] urls[21] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar
>>>>> [ERROR] urls[22] =
>>>>> file:/home/vy/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
>>>>> [ERROR] urls[23] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
>>>>> [ERROR] urls[24] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
>>>>> [ERROR] urls[25] =
>>>>>
>>>>
>>> file:/home/vy/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
>>>>> [ERROR] Number of foreign imports: 1
>>>>> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent:
>>>>> null]]
>>>>> [ERROR]
>>>>> [ERROR] -----------------------------------------------------
>>>>> [ERROR] : Invalid version number: Version number may be negative or
>>>> greater
>>>>> than 255
>>>>>
>>>>> I don't know if this is something already known. Then I fall back to
>>>>> `./mvnw site -DskipTests=true -Dmaven.doap.skip=true`.
>>>>>
>>>>> `layout.html` looks good, but *I could not locate
>>>>> `json-template-layout.html`. Instead, there is a
>>>>> `json-template-layout.vm.html` file. Would you mind confirming
>>>>> `json-template-layout.html` gets generated, please?*
>>>>>
>>>>> I will also appreciate the small correction for `layouts.xml.vm` I
>>> share
>>>>> below, though feel free to ignore it if you think this blocks the
>>>> release.
>>>>>
>>>>> diff --git a/src/site/xdoc/manual/layouts.xml.vm
>>>>> b/src/site/xdoc/manual/layouts.xml.vm
>>>>> index 52b415dd9..30361d9ac 100644
>>>>> --- a/src/site/xdoc/manual/layouts.xml.vm
>>>>> +++ b/src/site/xdoc/manual/layouts.xml.vm
>>>>> @@ -208,13 +208,14 @@ logger.debug("one={}, two={}, three={}", 1, 2,
>>> 3);
>>>>> },
>>>>> "exception_message": {
>>>>> "${dollar}resolver": "exception",
>>>>> - "field": "message",
>>>>> - "stringified": true
>>>>> + "field": "message"
>>>>> },
>>>>> "stacktrace": {
>>>>> "${dollar}resolver": "exception",
>>>>> "field": "stackTrace",
>>>>> - "stringified": true
>>>>> + "stackTrace": {
>>>>> + "stringified": true
>>>>> + }
>>>>> }
>>>>> },
>>>>> "line_number": {
>>>>>
>>>>> This has slipped through my eyes while backporting forwarded-ported
>>>>> LOG4J2-2993.
>>>>>
>>>>> Besides these documentation & site related issues, `./mvnw clean
>>> verify`
>>>>> works for me.
>>>>> OS: Ubuntu 20.04.2 LTS
>>>>> JDK 8: 1.8.0_272 (AdoptOpenJDK)
>>>>> JDK 9+: 11.0.6+10 (AdoptOpenJDK)
>>>>>
>>>>> Kind regards.
>>>>>
>>>>> On Sun, Mar 7, 2021 at 7:46 AM Ralph Goers <ralph.goers@dslextreme.com
>>>>
>>>>> wrote:
>>>>>
>>>>>> This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend
>>> with
>>>>>> "mdc" resolver.
>>>>>> • LOG4J2-2999: Replace JsonTemplateLayout resolver
>>> configurations
>>>>>> table in docs with sections.
>>>>>> • LOG4J2-2993: Support stack trace truncation in
>>>>>> JsonTemplateLayout.
>>>>>> Fixed Bugs
>>>>>>
>>>>>> • LOG4J2-3033: Add log method with no parameters - i.e. it has
>>> an
>>>>>> empty message.
>>>>>> • LOG4J2-2947: Document that LogBuilder default methods do
>>>> nothing.
>>>>>> • LOG4J2-2948: Replace HashSet with IdentityHashMap in
>>>>>> ParameterFormatter to detect cycles.
>>>>>> • LOG4J2-3028: OutputStreamManager.flushBuffer always resets
>>> the
>>>>>> buffer, previously the buffer was not reset after an exception. Thanks
>>>> to
>>>>>> Jakub Kozlowski.
>>>>>> • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause
>>> the
>>>>>> file to roll over with DirectWriteTriggeringPolicy unless minSize was
>>>> set
>>>>>> to 0.
>>>>>> • LOG4J2-2990: Reduce garbage by using putAll when copying the
>>>>>> ThreadContext for SLF4J. Thanks to Diogo Monteiro.
>>>>>> • LOG4J2-3006: Directly create a thread instead of using the
>>>>>> common ForkJoin pool when initializing ThreadContextDataInjector"
>>>>>> • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be
>>>>>> turned off and provide a ServletContextListener
>>>>>> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
>>>>>> listener at the top of web.xml to ensure the shutdown happens last.
>>>> Thanks
>>>>>> to Tim Perry.
>>>>>> • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be
>>>>>> turned off and provide a ServletContextListener
>>>>>> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
>>>>>> listener at the top of web.xml to ensure the shutdown happens last.
>>>> Thanks
>>>>>> to Tim Perry.
>>>>>> • LOG4J2-2998: Fix truncation of excessive strings ending with
>>> a
>>>>>> high surrogate in JsonWriter.
>>>>>> • LOG4J2-2973: Rename EventTemplateAdditionalField#type
>>>>>> (conflicting with properties file parser) to "format". Thanks to Fabio
>>>>>> Ricchiuti.
>>>>>> • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for
>>>>>> handling of Throwables.
>>>>>> • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to
>>>>>> JsonTemplateLayout.
>>>>>> • LOG4J2-2974: Log4j would fail to initialize in Java 8 with
>>>>>> log4j-spring-boot.
>>>>>> • LOG4J2-2964: Merge packages from several Configurations in
>>>>>> Composite Configuration. Thanks to Valery Yatsynovich.
>>>>>> • LOG4J2-2961: Fix reading of JsonTemplateLayout event
>>> additional
>>>>>> fields from config.
>>>>>> • LOG4J2-2916: Avoid redundant Kafka producer instantiation
>>>>>> causing thread leaks. Thanks to wuqian0808.
>>>>>> • LOG4J2-2967: Fix JsonTemplateLayout index based parameter
>>>>>> resolution when messages contain too few parameters.
>>>>>> • LOG4J2-2976: JdbcAppender composes an incorrect INSERT
>>>> statement
>>>>>> without a ColumnMapping element.
>>>>>> • LOG4J2-3014: Log4j1ConfigurationConverter on Windows
>>> produces "
>>>>>> " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
>>>>>> Changes
>>>>>>
>>>>>> • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration
>>>>>> files are updated.
>>>>>> • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6,
>>>> and
>>>>>> Spring Cloud to Hoxton.SR9
>>>>>> • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
>>>>>> • : Update commons-codec:commons-codec 1.14 -> 1.15.
>>>>>> • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
>>>>>> • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
>>>>>> • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
>>>>>> • : Update commons-io:commons-io 2.7 -> 2.8.0.
>>>>>> • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
>>>>>> • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
>>>>>> • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
>>>>>> • : Update junit:junit 4.13 -> 4.13.1.
>>>>>> • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
>>>>>> • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
>>>>>> • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
>>>>>> • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
>>>>>> • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6
>>> ->
>>>>>> 3.12.7.
>>>>>> • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
>>>>>> • : Update org.eclipse.tycho:org.eclipse.osgi
>>>>>> 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
>>>>>> • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0
>>> ->
>>>>>> 3.0.0.
>>>>>> • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
>>>>>> • : Update Mockito 3.6.0 -> 3.7.0.
>>>>>> • : Update XML Unit 2.8.0 -> 2.8.2.
>>>>>> • : Update JSON Unit 2.21.0 -> 2.22.0.
>>>>>> • : Update JaCoCo 0.8.3 -> 0.8.6.
>>>>>> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
>>>>>> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
>>>>>> • : Update org.springframework:* 5.3.2 -> 5.3.3.
>>>>>> • : Update mongodb4.version 4.1.1 -> 4.2.0.
>>>>>> • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
>>>>>> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
>>>>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>>>>>> • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
>>>>>> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
>>>>>> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
>>>>>> • : Update org.springframework:* 5.3.2 -> 5.3.3.
>>>>>> • : Update mongodb4.version 4.1.1 -> 4.2.0.
>>>>>> • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
>>>>>> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
>>>>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>>>>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>>>>>> • com.fasterxml.jackson.core:jackson-annotations
>>>>>> ................. 2.12.1 -> 2.12.2
>>>>>> - com.fasterxml.jackson.core:jackson-core
>>>>>> ........................ 2.12.1 -> 2.12.2
>>>>>> - com.fasterxml.jackson.core:jackson-databind
>>>>>> .................... 2.12.1 -> 2.12.2
>>>>>> - com.fasterxml.jackson.dataformat:jackson-dataformat-xml
>>>>>> ........ 2.12.1 -> 2.12.2
>>>>>> -
>>> com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
>>>>>> ....... 2.12.1 -> 2.12.2
>>>>>> -
>>>>>> com.fasterxml.jackson.module:jackson-module-jaxb-annotations ...
>>> 2.12.1
>>>> ->
>>>>>> 2.12.2
>>>>>> - org.apache.commons:commons-lang3
>>>>>> ............................... 3.11 -> 3.12.0
>>>>>> - org.junit.jupiter:junit-jupiter-engine
>>>>>> ......................... 5.7.0 -> 5.7.1
>>>>>> - org.junit.jupiter:junit-jupiter-migrationsupport
>>>>>> ............... 5.7.0 -> 5.7.1
>>>>>> - org.junit.jupiter:junit-jupiter-params
>>>>>> ......................... 5.7.0 -> 5.7.1
>>>>>> - org.junit.vintage:junit-vintage-engine
>>>>>> ......................... 5.7.0 -> 5.7.1
>>>>>> - org.mockito:mockito-core
>>>>>> ....................................... 3.7.7 -> 3.8.0
>>>>>> - org.mockito:mockito-junit-jupiter
>>>>>> .............................. 3.7.7 -> 3.8.0
>>>>>> - org.mongodb:bson
>>>>>> ............................................... 4.2.0 -> 4.2.2
>>>>>> - org.mongodb:mongodb-driver-sync
>>>>>> ................................ 4.2.0 -> 4.2.2
>>>>>>
>>>>>> Tag:
>>>>>> a) for a new copy do "git clone
>>>>>> https://github.com/apache/logging-log4j2.git" and then "git checkout
>>>>>> tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1
>>>>>> https://github.com/apache/logging-log4j2.git"
>>>>>> b) for an existing working copy to “git pull” and then “git checkout
>>>>>> tags/log4j-2.14.1-rc1”
>>>>>>
>>>>>> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>>>>>>
>>>>>> Maven Artifacts:
>>>>>>
>>>> https://repository.apache.org/content/repositories/orgapachelogging-1062
>>>>>>
>>>>>> 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-1062/org/apache/logging/log4j/
>>>>>>
>>>>>> Ralph
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>>
>
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Ralph Goers <ra...@dslextreme.com>.
The generated site contains json-template-layout.vm.html in the manual directory. I see json-template-layout.vm.adoc in the source, which I suspect is the source of the problem. I believe the file needs to be named json-template-layout.adoc.vm to be processed by velocity and end up with an adoc file.
Ralph
> On Mar 7, 2021, at 2:08 PM, Volkan Yazıcı <vo...@gmail.com> wrote:
>
> Ah! If that is the case, definitely +1! (Sorry for the inconvenience.)
>
> On Sun, 7 Mar 2021, 22:06 Gary Gregory <ga...@gmail.com> wrote:
>
>> I don't think we need to fail the RC if the site generation is the only
>> item impacted as opposed to the running software since its relatively easy
>> to fix the site after the release. Up to the RM of course ;-)
>>
>> Gary
>>
>>
>> On Sun, Mar 7, 2021, 15:58 Ralph Goers <ra...@dslextreme.com> wrote:
>>
>>> See - https://issues.apache.org/jira/projects/MDOAP/issues/MDOAP-61.
>> This
>>> is documented as part of the release process.
>>>
>>> I don’t understand the impact of the missing json-template-layout.html.
>>> Is that from the web site? Was it present in 2.14.0 and why is it missing
>>> now?
>>>
>>> Ralph
>>>
>>>
>>>
>>>> On Mar 7, 2021, at 1:37 PM, Volkan Yazıcı <vo...@gmail.com>
>>> wrote:
>>>>
>>>> -1, due to missing `json-template-layout.html` file!
>>>>
>>>> `./mvnw site` fails for me thanks to maven-doap-plugin:
>>>>
>>>> [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate (site) on
>> project
>>>> log4j: Execution site of goal
>>>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate failed: An API
>>>> incompatibility was encountered while executing
>>>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate:
>>>> java.lang.ExceptionInInitializerError: null
>>>> [ERROR] -----------------------------------------------------
>>>> [ERROR] realm =
>> plugin>org.apache.maven.plugins:maven-doap-plugin:1.2
>>>> [ERROR] strategy =
>>>> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
>>>> [ERROR] urls[0] =
>>>>
>>>
>> file:/home/vy/.m2/repository/org/apache/maven/plugins/maven-doap-plugin/1.2/maven-doap-plugin-1.2.jar
>>>> [ERROR] urls[1] =
>>>>
>>>
>> file:/home/vy/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
>>>> [ERROR] urls[2] =
>>>> file:/home/vy/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
>>>> [ERROR] urls[3] =
>>>>
>>>
>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-api/1.9.2/maven-scm-api-1.9.2.jar
>>>> [ERROR] urls[4] =
>>>>
>>>
>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-manager-plexus/1.9.2/maven-scm-manager-plexus-1.9.2.jar
>>>> [ERROR] urls[5] =
>>>>
>>>
>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svn-commons/1.9.2/maven-scm-provider-svn-commons-1.9.2.jar
>>>> [ERROR] urls[6] =
>>>>
>>>
>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svnexe/1.9.2/maven-scm-provider-svnexe-1.9.2.jar
>>>> [ERROR] urls[7] =
>>>>
>>>
>> file:/home/vy/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
>>>> [ERROR] urls[8] =
>>>>
>>>
>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.9.2/maven-scm-provider-cvs-commons-1.9.2.jar
>>>> [ERROR] urls[9] =
>>>>
>>>
>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9.2/maven-scm-provider-cvsexe-1.9.2.jar
>>>> [ERROR] urls[10] =
>>>>
>>>
>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsjava/1.9.2/maven-scm-provider-cvsjava-1.9.2.jar
>>>> [ERROR] urls[11] =
>>>>
>>>
>> file:/home/vy/.m2/repository/org/netbeans/lib/cvsclient/20060125/cvsclient-20060125.jar
>>>> [ERROR] urls[12] =
>>>>
>>>
>> file:/home/vy/.m2/repository/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar
>>>> [ERROR] urls[13] =
>>>>
>>>
>> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
>>>> [ERROR] urls[14] =
>>>>
>>>
>> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
>>>> [ERROR] urls[15] =
>>>>
>>>
>> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar
>>>> [ERROR] urls[16] =
>>>> file:/home/vy/.m2/repository/com/hp/hpl/jena/jena/2.6.3/jena-2.6.3.jar
>>>> [ERROR] urls[17] =
>>>> file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8.jar
>>>> [ERROR] urls[18] =
>>>>
>> file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar
>>>> [ERROR] urls[19] =
>>>> file:/home/vy/.m2/repository/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar
>>>> [ERROR] urls[20] =
>>>>
>> file:/home/vy/.m2/repository/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar
>>>> [ERROR] urls[21] =
>>>>
>>>
>> file:/home/vy/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar
>>>> [ERROR] urls[22] =
>>>> file:/home/vy/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
>>>> [ERROR] urls[23] =
>>>>
>>>
>> file:/home/vy/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
>>>> [ERROR] urls[24] =
>>>>
>>>
>> file:/home/vy/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
>>>> [ERROR] urls[25] =
>>>>
>>>
>> file:/home/vy/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
>>>> [ERROR] Number of foreign imports: 1
>>>> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent:
>>>> null]]
>>>> [ERROR]
>>>> [ERROR] -----------------------------------------------------
>>>> [ERROR] : Invalid version number: Version number may be negative or
>>> greater
>>>> than 255
>>>>
>>>> I don't know if this is something already known. Then I fall back to
>>>> `./mvnw site -DskipTests=true -Dmaven.doap.skip=true`.
>>>>
>>>> `layout.html` looks good, but *I could not locate
>>>> `json-template-layout.html`. Instead, there is a
>>>> `json-template-layout.vm.html` file. Would you mind confirming
>>>> `json-template-layout.html` gets generated, please?*
>>>>
>>>> I will also appreciate the small correction for `layouts.xml.vm` I
>> share
>>>> below, though feel free to ignore it if you think this blocks the
>>> release.
>>>>
>>>> diff --git a/src/site/xdoc/manual/layouts.xml.vm
>>>> b/src/site/xdoc/manual/layouts.xml.vm
>>>> index 52b415dd9..30361d9ac 100644
>>>> --- a/src/site/xdoc/manual/layouts.xml.vm
>>>> +++ b/src/site/xdoc/manual/layouts.xml.vm
>>>> @@ -208,13 +208,14 @@ logger.debug("one={}, two={}, three={}", 1, 2,
>> 3);
>>>> },
>>>> "exception_message": {
>>>> "${dollar}resolver": "exception",
>>>> - "field": "message",
>>>> - "stringified": true
>>>> + "field": "message"
>>>> },
>>>> "stacktrace": {
>>>> "${dollar}resolver": "exception",
>>>> "field": "stackTrace",
>>>> - "stringified": true
>>>> + "stackTrace": {
>>>> + "stringified": true
>>>> + }
>>>> }
>>>> },
>>>> "line_number": {
>>>>
>>>> This has slipped through my eyes while backporting forwarded-ported
>>>> LOG4J2-2993.
>>>>
>>>> Besides these documentation & site related issues, `./mvnw clean
>> verify`
>>>> works for me.
>>>> OS: Ubuntu 20.04.2 LTS
>>>> JDK 8: 1.8.0_272 (AdoptOpenJDK)
>>>> JDK 9+: 11.0.6+10 (AdoptOpenJDK)
>>>>
>>>> Kind regards.
>>>>
>>>> On Sun, Mar 7, 2021 at 7:46 AM Ralph Goers <ralph.goers@dslextreme.com
>>>
>>>> wrote:
>>>>
>>>>> This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend
>> with
>>>>> "mdc" resolver.
>>>>> • LOG4J2-2999: Replace JsonTemplateLayout resolver
>> configurations
>>>>> table in docs with sections.
>>>>> • LOG4J2-2993: Support stack trace truncation in
>>>>> JsonTemplateLayout.
>>>>> Fixed Bugs
>>>>>
>>>>> • LOG4J2-3033: Add log method with no parameters - i.e. it has
>> an
>>>>> empty message.
>>>>> • LOG4J2-2947: Document that LogBuilder default methods do
>>> nothing.
>>>>> • LOG4J2-2948: Replace HashSet with IdentityHashMap in
>>>>> ParameterFormatter to detect cycles.
>>>>> • LOG4J2-3028: OutputStreamManager.flushBuffer always resets
>> the
>>>>> buffer, previously the buffer was not reset after an exception. Thanks
>>> to
>>>>> Jakub Kozlowski.
>>>>> • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause
>> the
>>>>> file to roll over with DirectWriteTriggeringPolicy unless minSize was
>>> set
>>>>> to 0.
>>>>> • LOG4J2-2990: Reduce garbage by using putAll when copying the
>>>>> ThreadContext for SLF4J. Thanks to Diogo Monteiro.
>>>>> • LOG4J2-3006: Directly create a thread instead of using the
>>>>> common ForkJoin pool when initializing ThreadContextDataInjector"
>>>>> • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be
>>>>> turned off and provide a ServletContextListener
>>>>> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
>>>>> listener at the top of web.xml to ensure the shutdown happens last.
>>> Thanks
>>>>> to Tim Perry.
>>>>> • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be
>>>>> turned off and provide a ServletContextListener
>>>>> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
>>>>> listener at the top of web.xml to ensure the shutdown happens last.
>>> Thanks
>>>>> to Tim Perry.
>>>>> • LOG4J2-2998: Fix truncation of excessive strings ending with
>> a
>>>>> high surrogate in JsonWriter.
>>>>> • LOG4J2-2973: Rename EventTemplateAdditionalField#type
>>>>> (conflicting with properties file parser) to "format". Thanks to Fabio
>>>>> Ricchiuti.
>>>>> • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for
>>>>> handling of Throwables.
>>>>> • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to
>>>>> JsonTemplateLayout.
>>>>> • LOG4J2-2974: Log4j would fail to initialize in Java 8 with
>>>>> log4j-spring-boot.
>>>>> • LOG4J2-2964: Merge packages from several Configurations in
>>>>> Composite Configuration. Thanks to Valery Yatsynovich.
>>>>> • LOG4J2-2961: Fix reading of JsonTemplateLayout event
>> additional
>>>>> fields from config.
>>>>> • LOG4J2-2916: Avoid redundant Kafka producer instantiation
>>>>> causing thread leaks. Thanks to wuqian0808.
>>>>> • LOG4J2-2967: Fix JsonTemplateLayout index based parameter
>>>>> resolution when messages contain too few parameters.
>>>>> • LOG4J2-2976: JdbcAppender composes an incorrect INSERT
>>> statement
>>>>> without a ColumnMapping element.
>>>>> • LOG4J2-3014: Log4j1ConfigurationConverter on Windows
>> produces "
>>>>> " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
>>>>> Changes
>>>>>
>>>>> • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration
>>>>> files are updated.
>>>>> • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6,
>>> and
>>>>> Spring Cloud to Hoxton.SR9
>>>>> • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
>>>>> • : Update commons-codec:commons-codec 1.14 -> 1.15.
>>>>> • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
>>>>> • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
>>>>> • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
>>>>> • : Update commons-io:commons-io 2.7 -> 2.8.0.
>>>>> • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
>>>>> • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
>>>>> • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
>>>>> • : Update junit:junit 4.13 -> 4.13.1.
>>>>> • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
>>>>> • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
>>>>> • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
>>>>> • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
>>>>> • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6
>> ->
>>>>> 3.12.7.
>>>>> • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
>>>>> • : Update org.eclipse.tycho:org.eclipse.osgi
>>>>> 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
>>>>> • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0
>> ->
>>>>> 3.0.0.
>>>>> • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
>>>>> • : Update Mockito 3.6.0 -> 3.7.0.
>>>>> • : Update XML Unit 2.8.0 -> 2.8.2.
>>>>> • : Update JSON Unit 2.21.0 -> 2.22.0.
>>>>> • : Update JaCoCo 0.8.3 -> 0.8.6.
>>>>> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
>>>>> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
>>>>> • : Update org.springframework:* 5.3.2 -> 5.3.3.
>>>>> • : Update mongodb4.version 4.1.1 -> 4.2.0.
>>>>> • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
>>>>> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
>>>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>>>>> • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
>>>>> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
>>>>> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
>>>>> • : Update org.springframework:* 5.3.2 -> 5.3.3.
>>>>> • : Update mongodb4.version 4.1.1 -> 4.2.0.
>>>>> • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
>>>>> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
>>>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>>>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>>>>> • com.fasterxml.jackson.core:jackson-annotations
>>>>> ................. 2.12.1 -> 2.12.2
>>>>> - com.fasterxml.jackson.core:jackson-core
>>>>> ........................ 2.12.1 -> 2.12.2
>>>>> - com.fasterxml.jackson.core:jackson-databind
>>>>> .................... 2.12.1 -> 2.12.2
>>>>> - com.fasterxml.jackson.dataformat:jackson-dataformat-xml
>>>>> ........ 2.12.1 -> 2.12.2
>>>>> -
>> com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
>>>>> ....... 2.12.1 -> 2.12.2
>>>>> -
>>>>> com.fasterxml.jackson.module:jackson-module-jaxb-annotations ...
>> 2.12.1
>>> ->
>>>>> 2.12.2
>>>>> - org.apache.commons:commons-lang3
>>>>> ............................... 3.11 -> 3.12.0
>>>>> - org.junit.jupiter:junit-jupiter-engine
>>>>> ......................... 5.7.0 -> 5.7.1
>>>>> - org.junit.jupiter:junit-jupiter-migrationsupport
>>>>> ............... 5.7.0 -> 5.7.1
>>>>> - org.junit.jupiter:junit-jupiter-params
>>>>> ......................... 5.7.0 -> 5.7.1
>>>>> - org.junit.vintage:junit-vintage-engine
>>>>> ......................... 5.7.0 -> 5.7.1
>>>>> - org.mockito:mockito-core
>>>>> ....................................... 3.7.7 -> 3.8.0
>>>>> - org.mockito:mockito-junit-jupiter
>>>>> .............................. 3.7.7 -> 3.8.0
>>>>> - org.mongodb:bson
>>>>> ............................................... 4.2.0 -> 4.2.2
>>>>> - org.mongodb:mongodb-driver-sync
>>>>> ................................ 4.2.0 -> 4.2.2
>>>>>
>>>>> Tag:
>>>>> a) for a new copy do "git clone
>>>>> https://github.com/apache/logging-log4j2.git" and then "git checkout
>>>>> tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1
>>>>> https://github.com/apache/logging-log4j2.git"
>>>>> b) for an existing working copy to “git pull” and then “git checkout
>>>>> tags/log4j-2.14.1-rc1”
>>>>>
>>>>> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>>>>>
>>>>> Maven Artifacts:
>>>>>
>>> https://repository.apache.org/content/repositories/orgapachelogging-1062
>>>>>
>>>>> 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-1062/org/apache/logging/log4j/
>>>>>
>>>>> Ralph
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>>
>>
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Volkan Yazıcı <vo...@gmail.com>.
Ah! If that is the case, definitely +1! (Sorry for the inconvenience.)
On Sun, 7 Mar 2021, 22:06 Gary Gregory <ga...@gmail.com> wrote:
> I don't think we need to fail the RC if the site generation is the only
> item impacted as opposed to the running software since its relatively easy
> to fix the site after the release. Up to the RM of course ;-)
>
> Gary
>
>
> On Sun, Mar 7, 2021, 15:58 Ralph Goers <ra...@dslextreme.com> wrote:
>
> > See - https://issues.apache.org/jira/projects/MDOAP/issues/MDOAP-61.
> This
> > is documented as part of the release process.
> >
> > I don’t understand the impact of the missing json-template-layout.html.
> > Is that from the web site? Was it present in 2.14.0 and why is it missing
> > now?
> >
> > Ralph
> >
> >
> >
> > > On Mar 7, 2021, at 1:37 PM, Volkan Yazıcı <vo...@gmail.com>
> > wrote:
> > >
> > > -1, due to missing `json-template-layout.html` file!
> > >
> > > `./mvnw site` fails for me thanks to maven-doap-plugin:
> > >
> > > [ERROR] Failed to execute goal
> > > org.apache.maven.plugins:maven-doap-plugin:1.2:generate (site) on
> project
> > > log4j: Execution site of goal
> > > org.apache.maven.plugins:maven-doap-plugin:1.2:generate failed: An API
> > > incompatibility was encountered while executing
> > > org.apache.maven.plugins:maven-doap-plugin:1.2:generate:
> > > java.lang.ExceptionInInitializerError: null
> > > [ERROR] -----------------------------------------------------
> > > [ERROR] realm =
> plugin>org.apache.maven.plugins:maven-doap-plugin:1.2
> > > [ERROR] strategy =
> > > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> > > [ERROR] urls[0] =
> > >
> >
> file:/home/vy/.m2/repository/org/apache/maven/plugins/maven-doap-plugin/1.2/maven-doap-plugin-1.2.jar
> > > [ERROR] urls[1] =
> > >
> >
> file:/home/vy/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> > > [ERROR] urls[2] =
> > > file:/home/vy/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> > > [ERROR] urls[3] =
> > >
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-api/1.9.2/maven-scm-api-1.9.2.jar
> > > [ERROR] urls[4] =
> > >
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-manager-plexus/1.9.2/maven-scm-manager-plexus-1.9.2.jar
> > > [ERROR] urls[5] =
> > >
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svn-commons/1.9.2/maven-scm-provider-svn-commons-1.9.2.jar
> > > [ERROR] urls[6] =
> > >
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svnexe/1.9.2/maven-scm-provider-svnexe-1.9.2.jar
> > > [ERROR] urls[7] =
> > >
> >
> file:/home/vy/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
> > > [ERROR] urls[8] =
> > >
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.9.2/maven-scm-provider-cvs-commons-1.9.2.jar
> > > [ERROR] urls[9] =
> > >
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9.2/maven-scm-provider-cvsexe-1.9.2.jar
> > > [ERROR] urls[10] =
> > >
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsjava/1.9.2/maven-scm-provider-cvsjava-1.9.2.jar
> > > [ERROR] urls[11] =
> > >
> >
> file:/home/vy/.m2/repository/org/netbeans/lib/cvsclient/20060125/cvsclient-20060125.jar
> > > [ERROR] urls[12] =
> > >
> >
> file:/home/vy/.m2/repository/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar
> > > [ERROR] urls[13] =
> > >
> >
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
> > > [ERROR] urls[14] =
> > >
> >
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
> > > [ERROR] urls[15] =
> > >
> >
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar
> > > [ERROR] urls[16] =
> > > file:/home/vy/.m2/repository/com/hp/hpl/jena/jena/2.6.3/jena-2.6.3.jar
> > > [ERROR] urls[17] =
> > > file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8.jar
> > > [ERROR] urls[18] =
> > >
> file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar
> > > [ERROR] urls[19] =
> > > file:/home/vy/.m2/repository/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar
> > > [ERROR] urls[20] =
> > >
> file:/home/vy/.m2/repository/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar
> > > [ERROR] urls[21] =
> > >
> >
> file:/home/vy/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar
> > > [ERROR] urls[22] =
> > > file:/home/vy/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
> > > [ERROR] urls[23] =
> > >
> >
> file:/home/vy/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
> > > [ERROR] urls[24] =
> > >
> >
> file:/home/vy/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> > > [ERROR] urls[25] =
> > >
> >
> file:/home/vy/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> > > [ERROR] Number of foreign imports: 1
> > > [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent:
> > > null]]
> > > [ERROR]
> > > [ERROR] -----------------------------------------------------
> > > [ERROR] : Invalid version number: Version number may be negative or
> > greater
> > > than 255
> > >
> > > I don't know if this is something already known. Then I fall back to
> > > `./mvnw site -DskipTests=true -Dmaven.doap.skip=true`.
> > >
> > > `layout.html` looks good, but *I could not locate
> > > `json-template-layout.html`. Instead, there is a
> > > `json-template-layout.vm.html` file. Would you mind confirming
> > > `json-template-layout.html` gets generated, please?*
> > >
> > > I will also appreciate the small correction for `layouts.xml.vm` I
> share
> > > below, though feel free to ignore it if you think this blocks the
> > release.
> > >
> > > diff --git a/src/site/xdoc/manual/layouts.xml.vm
> > > b/src/site/xdoc/manual/layouts.xml.vm
> > > index 52b415dd9..30361d9ac 100644
> > > --- a/src/site/xdoc/manual/layouts.xml.vm
> > > +++ b/src/site/xdoc/manual/layouts.xml.vm
> > > @@ -208,13 +208,14 @@ logger.debug("one={}, two={}, three={}", 1, 2,
> 3);
> > > },
> > > "exception_message": {
> > > "${dollar}resolver": "exception",
> > > - "field": "message",
> > > - "stringified": true
> > > + "field": "message"
> > > },
> > > "stacktrace": {
> > > "${dollar}resolver": "exception",
> > > "field": "stackTrace",
> > > - "stringified": true
> > > + "stackTrace": {
> > > + "stringified": true
> > > + }
> > > }
> > > },
> > > "line_number": {
> > >
> > > This has slipped through my eyes while backporting forwarded-ported
> > > LOG4J2-2993.
> > >
> > > Besides these documentation & site related issues, `./mvnw clean
> verify`
> > > works for me.
> > > OS: Ubuntu 20.04.2 LTS
> > > JDK 8: 1.8.0_272 (AdoptOpenJDK)
> > > JDK 9+: 11.0.6+10 (AdoptOpenJDK)
> > >
> > > Kind regards.
> > >
> > > On Sun, Mar 7, 2021 at 7:46 AM Ralph Goers <ralph.goers@dslextreme.com
> >
> > > wrote:
> > >
> > >> This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend
> with
> > >> "mdc" resolver.
> > >> • LOG4J2-2999: Replace JsonTemplateLayout resolver
> configurations
> > >> table in docs with sections.
> > >> • LOG4J2-2993: Support stack trace truncation in
> > >> JsonTemplateLayout.
> > >> Fixed Bugs
> > >>
> > >> • LOG4J2-3033: Add log method with no parameters - i.e. it has
> an
> > >> empty message.
> > >> • LOG4J2-2947: Document that LogBuilder default methods do
> > nothing.
> > >> • LOG4J2-2948: Replace HashSet with IdentityHashMap in
> > >> ParameterFormatter to detect cycles.
> > >> • LOG4J2-3028: OutputStreamManager.flushBuffer always resets
> the
> > >> buffer, previously the buffer was not reset after an exception. Thanks
> > to
> > >> Jakub Kozlowski.
> > >> • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause
> the
> > >> file to roll over with DirectWriteTriggeringPolicy unless minSize was
> > set
> > >> to 0.
> > >> • LOG4J2-2990: Reduce garbage by using putAll when copying the
> > >> ThreadContext for SLF4J. Thanks to Diogo Monteiro.
> > >> • LOG4J2-3006: Directly create a thread instead of using the
> > >> common ForkJoin pool when initializing ThreadContextDataInjector"
> > >> • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be
> > >> turned off and provide a ServletContextListener
> > >> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
> > >> listener at the top of web.xml to ensure the shutdown happens last.
> > Thanks
> > >> to Tim Perry.
> > >> • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be
> > >> turned off and provide a ServletContextListener
> > >> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
> > >> listener at the top of web.xml to ensure the shutdown happens last.
> > Thanks
> > >> to Tim Perry.
> > >> • LOG4J2-2998: Fix truncation of excessive strings ending with
> a
> > >> high surrogate in JsonWriter.
> > >> • LOG4J2-2973: Rename EventTemplateAdditionalField#type
> > >> (conflicting with properties file parser) to "format". Thanks to Fabio
> > >> Ricchiuti.
> > >> • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for
> > >> handling of Throwables.
> > >> • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to
> > >> JsonTemplateLayout.
> > >> • LOG4J2-2974: Log4j would fail to initialize in Java 8 with
> > >> log4j-spring-boot.
> > >> • LOG4J2-2964: Merge packages from several Configurations in
> > >> Composite Configuration. Thanks to Valery Yatsynovich.
> > >> • LOG4J2-2961: Fix reading of JsonTemplateLayout event
> additional
> > >> fields from config.
> > >> • LOG4J2-2916: Avoid redundant Kafka producer instantiation
> > >> causing thread leaks. Thanks to wuqian0808.
> > >> • LOG4J2-2967: Fix JsonTemplateLayout index based parameter
> > >> resolution when messages contain too few parameters.
> > >> • LOG4J2-2976: JdbcAppender composes an incorrect INSERT
> > statement
> > >> without a ColumnMapping element.
> > >> • LOG4J2-3014: Log4j1ConfigurationConverter on Windows
> produces "
> > >> " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
> > >> Changes
> > >>
> > >> • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration
> > >> files are updated.
> > >> • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6,
> > and
> > >> Spring Cloud to Hoxton.SR9
> > >> • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
> > >> • : Update commons-codec:commons-codec 1.14 -> 1.15.
> > >> • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
> > >> • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
> > >> • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
> > >> • : Update commons-io:commons-io 2.7 -> 2.8.0.
> > >> • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
> > >> • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
> > >> • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
> > >> • : Update junit:junit 4.13 -> 4.13.1.
> > >> • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
> > >> • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
> > >> • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
> > >> • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
> > >> • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6
> ->
> > >> 3.12.7.
> > >> • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
> > >> • : Update org.eclipse.tycho:org.eclipse.osgi
> > >> 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
> > >> • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0
> ->
> > >> 3.0.0.
> > >> • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
> > >> • : Update Mockito 3.6.0 -> 3.7.0.
> > >> • : Update XML Unit 2.8.0 -> 2.8.2.
> > >> • : Update JSON Unit 2.21.0 -> 2.22.0.
> > >> • : Update JaCoCo 0.8.3 -> 0.8.6.
> > >> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> > >> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> > >> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> > >> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> > >> • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
> > >> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> > >> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> > >> • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
> > >> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> > >> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> > >> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> > >> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> > >> • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
> > >> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> > >> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> > >> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> > >> • com.fasterxml.jackson.core:jackson-annotations
> > >> ................. 2.12.1 -> 2.12.2
> > >> - com.fasterxml.jackson.core:jackson-core
> > >> ........................ 2.12.1 -> 2.12.2
> > >> - com.fasterxml.jackson.core:jackson-databind
> > >> .................... 2.12.1 -> 2.12.2
> > >> - com.fasterxml.jackson.dataformat:jackson-dataformat-xml
> > >> ........ 2.12.1 -> 2.12.2
> > >> -
> com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
> > >> ....... 2.12.1 -> 2.12.2
> > >> -
> > >> com.fasterxml.jackson.module:jackson-module-jaxb-annotations ...
> 2.12.1
> > ->
> > >> 2.12.2
> > >> - org.apache.commons:commons-lang3
> > >> ............................... 3.11 -> 3.12.0
> > >> - org.junit.jupiter:junit-jupiter-engine
> > >> ......................... 5.7.0 -> 5.7.1
> > >> - org.junit.jupiter:junit-jupiter-migrationsupport
> > >> ............... 5.7.0 -> 5.7.1
> > >> - org.junit.jupiter:junit-jupiter-params
> > >> ......................... 5.7.0 -> 5.7.1
> > >> - org.junit.vintage:junit-vintage-engine
> > >> ......................... 5.7.0 -> 5.7.1
> > >> - org.mockito:mockito-core
> > >> ....................................... 3.7.7 -> 3.8.0
> > >> - org.mockito:mockito-junit-jupiter
> > >> .............................. 3.7.7 -> 3.8.0
> > >> - org.mongodb:bson
> > >> ............................................... 4.2.0 -> 4.2.2
> > >> - org.mongodb:mongodb-driver-sync
> > >> ................................ 4.2.0 -> 4.2.2
> > >>
> > >> Tag:
> > >> a) for a new copy do "git clone
> > >> https://github.com/apache/logging-log4j2.git" and then "git checkout
> > >> tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1
> > >> https://github.com/apache/logging-log4j2.git"
> > >> b) for an existing working copy to “git pull” and then “git checkout
> > >> tags/log4j-2.14.1-rc1”
> > >>
> > >> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
> > >>
> > >> Maven Artifacts:
> > >>
> > https://repository.apache.org/content/repositories/orgapachelogging-1062
> > >>
> > >> 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-1062/org/apache/logging/log4j/
> > >>
> > >> Ralph
> > >>
> > >>
> > >>
> > >>
> >
> >
> >
>
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Gary Gregory <ga...@gmail.com>.
I don't think we need to fail the RC if the site generation is the only
item impacted as opposed to the running software since its relatively easy
to fix the site after the release. Up to the RM of course ;-)
Gary
On Sun, Mar 7, 2021, 15:58 Ralph Goers <ra...@dslextreme.com> wrote:
> See - https://issues.apache.org/jira/projects/MDOAP/issues/MDOAP-61. This
> is documented as part of the release process.
>
> I don’t understand the impact of the missing json-template-layout.html.
> Is that from the web site? Was it present in 2.14.0 and why is it missing
> now?
>
> Ralph
>
>
>
> > On Mar 7, 2021, at 1:37 PM, Volkan Yazıcı <vo...@gmail.com>
> wrote:
> >
> > -1, due to missing `json-template-layout.html` file!
> >
> > `./mvnw site` fails for me thanks to maven-doap-plugin:
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-doap-plugin:1.2:generate (site) on project
> > log4j: Execution site of goal
> > org.apache.maven.plugins:maven-doap-plugin:1.2:generate failed: An API
> > incompatibility was encountered while executing
> > org.apache.maven.plugins:maven-doap-plugin:1.2:generate:
> > java.lang.ExceptionInInitializerError: null
> > [ERROR] -----------------------------------------------------
> > [ERROR] realm = plugin>org.apache.maven.plugins:maven-doap-plugin:1.2
> > [ERROR] strategy =
> > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> > [ERROR] urls[0] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/plugins/maven-doap-plugin/1.2/maven-doap-plugin-1.2.jar
> > [ERROR] urls[1] =
> >
> file:/home/vy/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> > [ERROR] urls[2] =
> > file:/home/vy/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> > [ERROR] urls[3] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-api/1.9.2/maven-scm-api-1.9.2.jar
> > [ERROR] urls[4] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-manager-plexus/1.9.2/maven-scm-manager-plexus-1.9.2.jar
> > [ERROR] urls[5] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svn-commons/1.9.2/maven-scm-provider-svn-commons-1.9.2.jar
> > [ERROR] urls[6] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svnexe/1.9.2/maven-scm-provider-svnexe-1.9.2.jar
> > [ERROR] urls[7] =
> >
> file:/home/vy/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
> > [ERROR] urls[8] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.9.2/maven-scm-provider-cvs-commons-1.9.2.jar
> > [ERROR] urls[9] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9.2/maven-scm-provider-cvsexe-1.9.2.jar
> > [ERROR] urls[10] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsjava/1.9.2/maven-scm-provider-cvsjava-1.9.2.jar
> > [ERROR] urls[11] =
> >
> file:/home/vy/.m2/repository/org/netbeans/lib/cvsclient/20060125/cvsclient-20060125.jar
> > [ERROR] urls[12] =
> >
> file:/home/vy/.m2/repository/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar
> > [ERROR] urls[13] =
> >
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
> > [ERROR] urls[14] =
> >
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
> > [ERROR] urls[15] =
> >
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar
> > [ERROR] urls[16] =
> > file:/home/vy/.m2/repository/com/hp/hpl/jena/jena/2.6.3/jena-2.6.3.jar
> > [ERROR] urls[17] =
> > file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8.jar
> > [ERROR] urls[18] =
> > file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar
> > [ERROR] urls[19] =
> > file:/home/vy/.m2/repository/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar
> > [ERROR] urls[20] =
> > file:/home/vy/.m2/repository/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar
> > [ERROR] urls[21] =
> >
> file:/home/vy/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar
> > [ERROR] urls[22] =
> > file:/home/vy/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
> > [ERROR] urls[23] =
> >
> file:/home/vy/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
> > [ERROR] urls[24] =
> >
> file:/home/vy/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> > [ERROR] urls[25] =
> >
> file:/home/vy/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> > [ERROR] Number of foreign imports: 1
> > [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent:
> > null]]
> > [ERROR]
> > [ERROR] -----------------------------------------------------
> > [ERROR] : Invalid version number: Version number may be negative or
> greater
> > than 255
> >
> > I don't know if this is something already known. Then I fall back to
> > `./mvnw site -DskipTests=true -Dmaven.doap.skip=true`.
> >
> > `layout.html` looks good, but *I could not locate
> > `json-template-layout.html`. Instead, there is a
> > `json-template-layout.vm.html` file. Would you mind confirming
> > `json-template-layout.html` gets generated, please?*
> >
> > I will also appreciate the small correction for `layouts.xml.vm` I share
> > below, though feel free to ignore it if you think this blocks the
> release.
> >
> > diff --git a/src/site/xdoc/manual/layouts.xml.vm
> > b/src/site/xdoc/manual/layouts.xml.vm
> > index 52b415dd9..30361d9ac 100644
> > --- a/src/site/xdoc/manual/layouts.xml.vm
> > +++ b/src/site/xdoc/manual/layouts.xml.vm
> > @@ -208,13 +208,14 @@ logger.debug("one={}, two={}, three={}", 1, 2, 3);
> > },
> > "exception_message": {
> > "${dollar}resolver": "exception",
> > - "field": "message",
> > - "stringified": true
> > + "field": "message"
> > },
> > "stacktrace": {
> > "${dollar}resolver": "exception",
> > "field": "stackTrace",
> > - "stringified": true
> > + "stackTrace": {
> > + "stringified": true
> > + }
> > }
> > },
> > "line_number": {
> >
> > This has slipped through my eyes while backporting forwarded-ported
> > LOG4J2-2993.
> >
> > Besides these documentation & site related issues, `./mvnw clean verify`
> > works for me.
> > OS: Ubuntu 20.04.2 LTS
> > JDK 8: 1.8.0_272 (AdoptOpenJDK)
> > JDK 9+: 11.0.6+10 (AdoptOpenJDK)
> >
> > Kind regards.
> >
> > On Sun, Mar 7, 2021 at 7:46 AM Ralph Goers <ra...@dslextreme.com>
> > wrote:
> >
> >> This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend with
> >> "mdc" resolver.
> >> • LOG4J2-2999: Replace JsonTemplateLayout resolver configurations
> >> table in docs with sections.
> >> • LOG4J2-2993: Support stack trace truncation in
> >> JsonTemplateLayout.
> >> Fixed Bugs
> >>
> >> • LOG4J2-3033: Add log method with no parameters - i.e. it has an
> >> empty message.
> >> • LOG4J2-2947: Document that LogBuilder default methods do
> nothing.
> >> • LOG4J2-2948: Replace HashSet with IdentityHashMap in
> >> ParameterFormatter to detect cycles.
> >> • LOG4J2-3028: OutputStreamManager.flushBuffer always resets the
> >> buffer, previously the buffer was not reset after an exception. Thanks
> to
> >> Jakub Kozlowski.
> >> • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause the
> >> file to roll over with DirectWriteTriggeringPolicy unless minSize was
> set
> >> to 0.
> >> • LOG4J2-2990: Reduce garbage by using putAll when copying the
> >> ThreadContext for SLF4J. Thanks to Diogo Monteiro.
> >> • LOG4J2-3006: Directly create a thread instead of using the
> >> common ForkJoin pool when initializing ThreadContextDataInjector"
> >> • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be
> >> turned off and provide a ServletContextListener
> >> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
> >> listener at the top of web.xml to ensure the shutdown happens last.
> Thanks
> >> to Tim Perry.
> >> • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be
> >> turned off and provide a ServletContextListener
> >> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
> >> listener at the top of web.xml to ensure the shutdown happens last.
> Thanks
> >> to Tim Perry.
> >> • LOG4J2-2998: Fix truncation of excessive strings ending with a
> >> high surrogate in JsonWriter.
> >> • LOG4J2-2973: Rename EventTemplateAdditionalField#type
> >> (conflicting with properties file parser) to "format". Thanks to Fabio
> >> Ricchiuti.
> >> • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for
> >> handling of Throwables.
> >> • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to
> >> JsonTemplateLayout.
> >> • LOG4J2-2974: Log4j would fail to initialize in Java 8 with
> >> log4j-spring-boot.
> >> • LOG4J2-2964: Merge packages from several Configurations in
> >> Composite Configuration. Thanks to Valery Yatsynovich.
> >> • LOG4J2-2961: Fix reading of JsonTemplateLayout event additional
> >> fields from config.
> >> • LOG4J2-2916: Avoid redundant Kafka producer instantiation
> >> causing thread leaks. Thanks to wuqian0808.
> >> • LOG4J2-2967: Fix JsonTemplateLayout index based parameter
> >> resolution when messages contain too few parameters.
> >> • LOG4J2-2976: JdbcAppender composes an incorrect INSERT
> statement
> >> without a ColumnMapping element.
> >> • LOG4J2-3014: Log4j1ConfigurationConverter on Windows produces "
> >> " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
> >> Changes
> >>
> >> • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration
> >> files are updated.
> >> • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6,
> and
> >> Spring Cloud to Hoxton.SR9
> >> • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
> >> • : Update commons-codec:commons-codec 1.14 -> 1.15.
> >> • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
> >> • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
> >> • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
> >> • : Update commons-io:commons-io 2.7 -> 2.8.0.
> >> • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
> >> • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
> >> • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
> >> • : Update junit:junit 4.13 -> 4.13.1.
> >> • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
> >> • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
> >> • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
> >> • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
> >> • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6 ->
> >> 3.12.7.
> >> • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
> >> • : Update org.eclipse.tycho:org.eclipse.osgi
> >> 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
> >> • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0 ->
> >> 3.0.0.
> >> • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
> >> • : Update Mockito 3.6.0 -> 3.7.0.
> >> • : Update XML Unit 2.8.0 -> 2.8.2.
> >> • : Update JSON Unit 2.21.0 -> 2.22.0.
> >> • : Update JaCoCo 0.8.3 -> 0.8.6.
> >> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> >> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> >> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> >> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> >> • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
> >> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> >> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> >> • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
> >> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> >> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> >> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> >> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> >> • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
> >> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> >> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> >> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> >> • com.fasterxml.jackson.core:jackson-annotations
> >> ................. 2.12.1 -> 2.12.2
> >> - com.fasterxml.jackson.core:jackson-core
> >> ........................ 2.12.1 -> 2.12.2
> >> - com.fasterxml.jackson.core:jackson-databind
> >> .................... 2.12.1 -> 2.12.2
> >> - com.fasterxml.jackson.dataformat:jackson-dataformat-xml
> >> ........ 2.12.1 -> 2.12.2
> >> - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
> >> ....... 2.12.1 -> 2.12.2
> >> -
> >> com.fasterxml.jackson.module:jackson-module-jaxb-annotations ... 2.12.1
> ->
> >> 2.12.2
> >> - org.apache.commons:commons-lang3
> >> ............................... 3.11 -> 3.12.0
> >> - org.junit.jupiter:junit-jupiter-engine
> >> ......................... 5.7.0 -> 5.7.1
> >> - org.junit.jupiter:junit-jupiter-migrationsupport
> >> ............... 5.7.0 -> 5.7.1
> >> - org.junit.jupiter:junit-jupiter-params
> >> ......................... 5.7.0 -> 5.7.1
> >> - org.junit.vintage:junit-vintage-engine
> >> ......................... 5.7.0 -> 5.7.1
> >> - org.mockito:mockito-core
> >> ....................................... 3.7.7 -> 3.8.0
> >> - org.mockito:mockito-junit-jupiter
> >> .............................. 3.7.7 -> 3.8.0
> >> - org.mongodb:bson
> >> ............................................... 4.2.0 -> 4.2.2
> >> - org.mongodb:mongodb-driver-sync
> >> ................................ 4.2.0 -> 4.2.2
> >>
> >> Tag:
> >> a) for a new copy do "git clone
> >> https://github.com/apache/logging-log4j2.git" and then "git checkout
> >> tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1
> >> https://github.com/apache/logging-log4j2.git"
> >> b) for an existing working copy to “git pull” and then “git checkout
> >> tags/log4j-2.14.1-rc1”
> >>
> >> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
> >>
> >> Maven Artifacts:
> >>
> https://repository.apache.org/content/repositories/orgapachelogging-1062
> >>
> >> 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-1062/org/apache/logging/log4j/
> >>
> >> Ralph
> >>
> >>
> >>
> >>
>
>
>
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Remko Popma <re...@gmail.com>.
Sorry I won't have time to validate the release.
But it looks like there are enough +1 votes to proceed, phew! :-)
On Mon, Mar 8, 2021 at 5:58 AM Ralph Goers <ra...@dslextreme.com>
wrote:
> See - https://issues.apache.org/jira/projects/MDOAP/issues/MDOAP-61. This
> is documented as part of the release process.
>
> I don’t understand the impact of the missing json-template-layout.html.
> Is that from the web site? Was it present in 2.14.0 and why is it missing
> now?
>
> Ralph
>
>
>
> > On Mar 7, 2021, at 1:37 PM, Volkan Yazıcı <vo...@gmail.com>
> wrote:
> >
> > -1, due to missing `json-template-layout.html` file!
> >
> > `./mvnw site` fails for me thanks to maven-doap-plugin:
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-doap-plugin:1.2:generate (site) on project
> > log4j: Execution site of goal
> > org.apache.maven.plugins:maven-doap-plugin:1.2:generate failed: An API
> > incompatibility was encountered while executing
> > org.apache.maven.plugins:maven-doap-plugin:1.2:generate:
> > java.lang.ExceptionInInitializerError: null
> > [ERROR] -----------------------------------------------------
> > [ERROR] realm = plugin>org.apache.maven.plugins:maven-doap-plugin:1.2
> > [ERROR] strategy =
> > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> > [ERROR] urls[0] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/plugins/maven-doap-plugin/1.2/maven-doap-plugin-1.2.jar
> > [ERROR] urls[1] =
> >
> file:/home/vy/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> > [ERROR] urls[2] =
> > file:/home/vy/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> > [ERROR] urls[3] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-api/1.9.2/maven-scm-api-1.9.2.jar
> > [ERROR] urls[4] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-manager-plexus/1.9.2/maven-scm-manager-plexus-1.9.2.jar
> > [ERROR] urls[5] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svn-commons/1.9.2/maven-scm-provider-svn-commons-1.9.2.jar
> > [ERROR] urls[6] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svnexe/1.9.2/maven-scm-provider-svnexe-1.9.2.jar
> > [ERROR] urls[7] =
> >
> file:/home/vy/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
> > [ERROR] urls[8] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.9.2/maven-scm-provider-cvs-commons-1.9.2.jar
> > [ERROR] urls[9] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9.2/maven-scm-provider-cvsexe-1.9.2.jar
> > [ERROR] urls[10] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsjava/1.9.2/maven-scm-provider-cvsjava-1.9.2.jar
> > [ERROR] urls[11] =
> >
> file:/home/vy/.m2/repository/org/netbeans/lib/cvsclient/20060125/cvsclient-20060125.jar
> > [ERROR] urls[12] =
> >
> file:/home/vy/.m2/repository/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar
> > [ERROR] urls[13] =
> >
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
> > [ERROR] urls[14] =
> >
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
> > [ERROR] urls[15] =
> >
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar
> > [ERROR] urls[16] =
> > file:/home/vy/.m2/repository/com/hp/hpl/jena/jena/2.6.3/jena-2.6.3.jar
> > [ERROR] urls[17] =
> > file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8.jar
> > [ERROR] urls[18] =
> > file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar
> > [ERROR] urls[19] =
> > file:/home/vy/.m2/repository/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar
> > [ERROR] urls[20] =
> > file:/home/vy/.m2/repository/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar
> > [ERROR] urls[21] =
> >
> file:/home/vy/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar
> > [ERROR] urls[22] =
> > file:/home/vy/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
> > [ERROR] urls[23] =
> >
> file:/home/vy/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
> > [ERROR] urls[24] =
> >
> file:/home/vy/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> > [ERROR] urls[25] =
> >
> file:/home/vy/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> > [ERROR] Number of foreign imports: 1
> > [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent:
> > null]]
> > [ERROR]
> > [ERROR] -----------------------------------------------------
> > [ERROR] : Invalid version number: Version number may be negative or
> greater
> > than 255
> >
> > I don't know if this is something already known. Then I fall back to
> > `./mvnw site -DskipTests=true -Dmaven.doap.skip=true`.
> >
> > `layout.html` looks good, but *I could not locate
> > `json-template-layout.html`. Instead, there is a
> > `json-template-layout.vm.html` file. Would you mind confirming
> > `json-template-layout.html` gets generated, please?*
> >
> > I will also appreciate the small correction for `layouts.xml.vm` I share
> > below, though feel free to ignore it if you think this blocks the
> release.
> >
> > diff --git a/src/site/xdoc/manual/layouts.xml.vm
> > b/src/site/xdoc/manual/layouts.xml.vm
> > index 52b415dd9..30361d9ac 100644
> > --- a/src/site/xdoc/manual/layouts.xml.vm
> > +++ b/src/site/xdoc/manual/layouts.xml.vm
> > @@ -208,13 +208,14 @@ logger.debug("one={}, two={}, three={}", 1, 2, 3);
> > },
> > "exception_message": {
> > "${dollar}resolver": "exception",
> > - "field": "message",
> > - "stringified": true
> > + "field": "message"
> > },
> > "stacktrace": {
> > "${dollar}resolver": "exception",
> > "field": "stackTrace",
> > - "stringified": true
> > + "stackTrace": {
> > + "stringified": true
> > + }
> > }
> > },
> > "line_number": {
> >
> > This has slipped through my eyes while backporting forwarded-ported
> > LOG4J2-2993.
> >
> > Besides these documentation & site related issues, `./mvnw clean verify`
> > works for me.
> > OS: Ubuntu 20.04.2 LTS
> > JDK 8: 1.8.0_272 (AdoptOpenJDK)
> > JDK 9+: 11.0.6+10 (AdoptOpenJDK)
> >
> > Kind regards.
> >
> > On Sun, Mar 7, 2021 at 7:46 AM Ralph Goers <ra...@dslextreme.com>
> > wrote:
> >
> >> This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend with
> >> "mdc" resolver.
> >> • LOG4J2-2999: Replace JsonTemplateLayout resolver configurations
> >> table in docs with sections.
> >> • LOG4J2-2993: Support stack trace truncation in
> >> JsonTemplateLayout.
> >> Fixed Bugs
> >>
> >> • LOG4J2-3033: Add log method with no parameters - i.e. it has an
> >> empty message.
> >> • LOG4J2-2947: Document that LogBuilder default methods do
> nothing.
> >> • LOG4J2-2948: Replace HashSet with IdentityHashMap in
> >> ParameterFormatter to detect cycles.
> >> • LOG4J2-3028: OutputStreamManager.flushBuffer always resets the
> >> buffer, previously the buffer was not reset after an exception. Thanks
> to
> >> Jakub Kozlowski.
> >> • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause the
> >> file to roll over with DirectWriteTriggeringPolicy unless minSize was
> set
> >> to 0.
> >> • LOG4J2-2990: Reduce garbage by using putAll when copying the
> >> ThreadContext for SLF4J. Thanks to Diogo Monteiro.
> >> • LOG4J2-3006: Directly create a thread instead of using the
> >> common ForkJoin pool when initializing ThreadContextDataInjector"
> >> • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be
> >> turned off and provide a ServletContextListener
> >> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
> >> listener at the top of web.xml to ensure the shutdown happens last.
> Thanks
> >> to Tim Perry.
> >> • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be
> >> turned off and provide a ServletContextListener
> >> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
> >> listener at the top of web.xml to ensure the shutdown happens last.
> Thanks
> >> to Tim Perry.
> >> • LOG4J2-2998: Fix truncation of excessive strings ending with a
> >> high surrogate in JsonWriter.
> >> • LOG4J2-2973: Rename EventTemplateAdditionalField#type
> >> (conflicting with properties file parser) to "format". Thanks to Fabio
> >> Ricchiuti.
> >> • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for
> >> handling of Throwables.
> >> • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to
> >> JsonTemplateLayout.
> >> • LOG4J2-2974: Log4j would fail to initialize in Java 8 with
> >> log4j-spring-boot.
> >> • LOG4J2-2964: Merge packages from several Configurations in
> >> Composite Configuration. Thanks to Valery Yatsynovich.
> >> • LOG4J2-2961: Fix reading of JsonTemplateLayout event additional
> >> fields from config.
> >> • LOG4J2-2916: Avoid redundant Kafka producer instantiation
> >> causing thread leaks. Thanks to wuqian0808.
> >> • LOG4J2-2967: Fix JsonTemplateLayout index based parameter
> >> resolution when messages contain too few parameters.
> >> • LOG4J2-2976: JdbcAppender composes an incorrect INSERT
> statement
> >> without a ColumnMapping element.
> >> • LOG4J2-3014: Log4j1ConfigurationConverter on Windows produces "
> >> " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
> >> Changes
> >>
> >> • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration
> >> files are updated.
> >> • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6,
> and
> >> Spring Cloud to Hoxton.SR9
> >> • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
> >> • : Update commons-codec:commons-codec 1.14 -> 1.15.
> >> • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
> >> • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
> >> • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
> >> • : Update commons-io:commons-io 2.7 -> 2.8.0.
> >> • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
> >> • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
> >> • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
> >> • : Update junit:junit 4.13 -> 4.13.1.
> >> • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
> >> • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
> >> • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
> >> • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
> >> • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6 ->
> >> 3.12.7.
> >> • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
> >> • : Update org.eclipse.tycho:org.eclipse.osgi
> >> 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
> >> • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0 ->
> >> 3.0.0.
> >> • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
> >> • : Update Mockito 3.6.0 -> 3.7.0.
> >> • : Update XML Unit 2.8.0 -> 2.8.2.
> >> • : Update JSON Unit 2.21.0 -> 2.22.0.
> >> • : Update JaCoCo 0.8.3 -> 0.8.6.
> >> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> >> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> >> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> >> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> >> • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
> >> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> >> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> >> • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
> >> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> >> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> >> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> >> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> >> • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
> >> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> >> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> >> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> >> • com.fasterxml.jackson.core:jackson-annotations
> >> ................. 2.12.1 -> 2.12.2
> >> - com.fasterxml.jackson.core:jackson-core
> >> ........................ 2.12.1 -> 2.12.2
> >> - com.fasterxml.jackson.core:jackson-databind
> >> .................... 2.12.1 -> 2.12.2
> >> - com.fasterxml.jackson.dataformat:jackson-dataformat-xml
> >> ........ 2.12.1 -> 2.12.2
> >> - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
> >> ....... 2.12.1 -> 2.12.2
> >> -
> >> com.fasterxml.jackson.module:jackson-module-jaxb-annotations ... 2.12.1
> ->
> >> 2.12.2
> >> - org.apache.commons:commons-lang3
> >> ............................... 3.11 -> 3.12.0
> >> - org.junit.jupiter:junit-jupiter-engine
> >> ......................... 5.7.0 -> 5.7.1
> >> - org.junit.jupiter:junit-jupiter-migrationsupport
> >> ............... 5.7.0 -> 5.7.1
> >> - org.junit.jupiter:junit-jupiter-params
> >> ......................... 5.7.0 -> 5.7.1
> >> - org.junit.vintage:junit-vintage-engine
> >> ......................... 5.7.0 -> 5.7.1
> >> - org.mockito:mockito-core
> >> ....................................... 3.7.7 -> 3.8.0
> >> - org.mockito:mockito-junit-jupiter
> >> .............................. 3.7.7 -> 3.8.0
> >> - org.mongodb:bson
> >> ............................................... 4.2.0 -> 4.2.2
> >> - org.mongodb:mongodb-driver-sync
> >> ................................ 4.2.0 -> 4.2.2
> >>
> >> Tag:
> >> a) for a new copy do "git clone
> >> https://github.com/apache/logging-log4j2.git" and then "git checkout
> >> tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1
> >> https://github.com/apache/logging-log4j2.git"
> >> b) for an existing working copy to “git pull” and then “git checkout
> >> tags/log4j-2.14.1-rc1”
> >>
> >> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
> >>
> >> Maven Artifacts:
> >>
> https://repository.apache.org/content/repositories/orgapachelogging-1062
> >>
> >> 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-1062/org/apache/logging/log4j/
> >>
> >> Ralph
> >>
> >>
> >>
> >>
>
>
>
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Ralph Goers <ra...@dslextreme.com>.
I should always add that something wrong with the web site would never be a -1 on a release vote. The web site can be updated at any time and doesn’t really require a vote. We tend to only update it at the time of release do to features being added or changes being made, but I have corrected mistakes many times.
FWIW, the process for updating the web site is at https://cwiki.apache.org/confluence/display/LOGGING/Managing+the+Logging+Services+Web+Sites. For a release I always run mvn site and mvn site:stage -DstagingDirectory=$HOME/log4j but when fixing problems I will just edit the html files in asf-staging, verify the fix, and then rebase it into asf-site to push it live. If you hand edit a fix though you need to make sure it is added to the source and verify the build generates it properly.
Ralph
> On Mar 7, 2021, at 1:58 PM, Ralph Goers <ra...@dslextreme.com> wrote:
>
> See - https://issues.apache.org/jira/projects/MDOAP/issues/MDOAP-61. This is documented as part of the release process.
>
> I don’t understand the impact of the missing json-template-layout.html. Is that from the web site? Was it present in 2.14.0 and why is it missing now?
>
> Ralph
>
>
>
>> On Mar 7, 2021, at 1:37 PM, Volkan Yazıcı <vo...@gmail.com> wrote:
>>
>> -1, due to missing `json-template-layout.html` file!
>>
>> `./mvnw site` fails for me thanks to maven-doap-plugin:
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate (site) on project
>> log4j: Execution site of goal
>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate failed: An API
>> incompatibility was encountered while executing
>> org.apache.maven.plugins:maven-doap-plugin:1.2:generate:
>> java.lang.ExceptionInInitializerError: null
>> [ERROR] -----------------------------------------------------
>> [ERROR] realm = plugin>org.apache.maven.plugins:maven-doap-plugin:1.2
>> [ERROR] strategy =
>> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
>> [ERROR] urls[0] =
>> file:/home/vy/.m2/repository/org/apache/maven/plugins/maven-doap-plugin/1.2/maven-doap-plugin-1.2.jar
>> [ERROR] urls[1] =
>> file:/home/vy/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
>> [ERROR] urls[2] =
>> file:/home/vy/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
>> [ERROR] urls[3] =
>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-api/1.9.2/maven-scm-api-1.9.2.jar
>> [ERROR] urls[4] =
>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-manager-plexus/1.9.2/maven-scm-manager-plexus-1.9.2.jar
>> [ERROR] urls[5] =
>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svn-commons/1.9.2/maven-scm-provider-svn-commons-1.9.2.jar
>> [ERROR] urls[6] =
>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svnexe/1.9.2/maven-scm-provider-svnexe-1.9.2.jar
>> [ERROR] urls[7] =
>> file:/home/vy/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
>> [ERROR] urls[8] =
>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.9.2/maven-scm-provider-cvs-commons-1.9.2.jar
>> [ERROR] urls[9] =
>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9.2/maven-scm-provider-cvsexe-1.9.2.jar
>> [ERROR] urls[10] =
>> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsjava/1.9.2/maven-scm-provider-cvsjava-1.9.2.jar
>> [ERROR] urls[11] =
>> file:/home/vy/.m2/repository/org/netbeans/lib/cvsclient/20060125/cvsclient-20060125.jar
>> [ERROR] urls[12] =
>> file:/home/vy/.m2/repository/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar
>> [ERROR] urls[13] =
>> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
>> [ERROR] urls[14] =
>> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
>> [ERROR] urls[15] =
>> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar
>> [ERROR] urls[16] =
>> file:/home/vy/.m2/repository/com/hp/hpl/jena/jena/2.6.3/jena-2.6.3.jar
>> [ERROR] urls[17] =
>> file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8.jar
>> [ERROR] urls[18] =
>> file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar
>> [ERROR] urls[19] =
>> file:/home/vy/.m2/repository/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar
>> [ERROR] urls[20] =
>> file:/home/vy/.m2/repository/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar
>> [ERROR] urls[21] =
>> file:/home/vy/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar
>> [ERROR] urls[22] =
>> file:/home/vy/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
>> [ERROR] urls[23] =
>> file:/home/vy/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
>> [ERROR] urls[24] =
>> file:/home/vy/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
>> [ERROR] urls[25] =
>> file:/home/vy/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
>> [ERROR] Number of foreign imports: 1
>> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent:
>> null]]
>> [ERROR]
>> [ERROR] -----------------------------------------------------
>> [ERROR] : Invalid version number: Version number may be negative or greater
>> than 255
>>
>> I don't know if this is something already known. Then I fall back to
>> `./mvnw site -DskipTests=true -Dmaven.doap.skip=true`.
>>
>> `layout.html` looks good, but *I could not locate
>> `json-template-layout.html`. Instead, there is a
>> `json-template-layout.vm.html` file. Would you mind confirming
>> `json-template-layout.html` gets generated, please?*
>>
>> I will also appreciate the small correction for `layouts.xml.vm` I share
>> below, though feel free to ignore it if you think this blocks the release.
>>
>> diff --git a/src/site/xdoc/manual/layouts.xml.vm
>> b/src/site/xdoc/manual/layouts.xml.vm
>> index 52b415dd9..30361d9ac 100644
>> --- a/src/site/xdoc/manual/layouts.xml.vm
>> +++ b/src/site/xdoc/manual/layouts.xml.vm
>> @@ -208,13 +208,14 @@ logger.debug("one={}, two={}, three={}", 1, 2, 3);
>> },
>> "exception_message": {
>> "${dollar}resolver": "exception",
>> - "field": "message",
>> - "stringified": true
>> + "field": "message"
>> },
>> "stacktrace": {
>> "${dollar}resolver": "exception",
>> "field": "stackTrace",
>> - "stringified": true
>> + "stackTrace": {
>> + "stringified": true
>> + }
>> }
>> },
>> "line_number": {
>>
>> This has slipped through my eyes while backporting forwarded-ported
>> LOG4J2-2993.
>>
>> Besides these documentation & site related issues, `./mvnw clean verify`
>> works for me.
>> OS: Ubuntu 20.04.2 LTS
>> JDK 8: 1.8.0_272 (AdoptOpenJDK)
>> JDK 9+: 11.0.6+10 (AdoptOpenJDK)
>>
>> Kind regards.
>>
>> On Sun, Mar 7, 2021 at 7:46 AM Ralph Goers <ra...@dslextreme.com>
>> wrote:
>>
>>> This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend with
>>> "mdc" resolver.
>>> • LOG4J2-2999: Replace JsonTemplateLayout resolver configurations
>>> table in docs with sections.
>>> • LOG4J2-2993: Support stack trace truncation in
>>> JsonTemplateLayout.
>>> Fixed Bugs
>>>
>>> • LOG4J2-3033: Add log method with no parameters - i.e. it has an
>>> empty message.
>>> • LOG4J2-2947: Document that LogBuilder default methods do nothing.
>>> • LOG4J2-2948: Replace HashSet with IdentityHashMap in
>>> ParameterFormatter to detect cycles.
>>> • LOG4J2-3028: OutputStreamManager.flushBuffer always resets the
>>> buffer, previously the buffer was not reset after an exception. Thanks to
>>> Jakub Kozlowski.
>>> • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause the
>>> file to roll over with DirectWriteTriggeringPolicy unless minSize was set
>>> to 0.
>>> • LOG4J2-2990: Reduce garbage by using putAll when copying the
>>> ThreadContext for SLF4J. Thanks to Diogo Monteiro.
>>> • LOG4J2-3006: Directly create a thread instead of using the
>>> common ForkJoin pool when initializing ThreadContextDataInjector"
>>> • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be
>>> turned off and provide a ServletContextListener
>>> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
>>> listener at the top of web.xml to ensure the shutdown happens last. Thanks
>>> to Tim Perry.
>>> • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be
>>> turned off and provide a ServletContextListener
>>> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
>>> listener at the top of web.xml to ensure the shutdown happens last. Thanks
>>> to Tim Perry.
>>> • LOG4J2-2998: Fix truncation of excessive strings ending with a
>>> high surrogate in JsonWriter.
>>> • LOG4J2-2973: Rename EventTemplateAdditionalField#type
>>> (conflicting with properties file parser) to "format". Thanks to Fabio
>>> Ricchiuti.
>>> • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for
>>> handling of Throwables.
>>> • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to
>>> JsonTemplateLayout.
>>> • LOG4J2-2974: Log4j would fail to initialize in Java 8 with
>>> log4j-spring-boot.
>>> • LOG4J2-2964: Merge packages from several Configurations in
>>> Composite Configuration. Thanks to Valery Yatsynovich.
>>> • LOG4J2-2961: Fix reading of JsonTemplateLayout event additional
>>> fields from config.
>>> • LOG4J2-2916: Avoid redundant Kafka producer instantiation
>>> causing thread leaks. Thanks to wuqian0808.
>>> • LOG4J2-2967: Fix JsonTemplateLayout index based parameter
>>> resolution when messages contain too few parameters.
>>> • LOG4J2-2976: JdbcAppender composes an incorrect INSERT statement
>>> without a ColumnMapping element.
>>> • LOG4J2-3014: Log4j1ConfigurationConverter on Windows produces "
>>> " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
>>> Changes
>>>
>>> • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration
>>> files are updated.
>>> • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6, and
>>> Spring Cloud to Hoxton.SR9
>>> • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
>>> • : Update commons-codec:commons-codec 1.14 -> 1.15.
>>> • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
>>> • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
>>> • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
>>> • : Update commons-io:commons-io 2.7 -> 2.8.0.
>>> • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
>>> • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
>>> • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
>>> • : Update junit:junit 4.13 -> 4.13.1.
>>> • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
>>> • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
>>> • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
>>> • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
>>> • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6 ->
>>> 3.12.7.
>>> • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
>>> • : Update org.eclipse.tycho:org.eclipse.osgi
>>> 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
>>> • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0 ->
>>> 3.0.0.
>>> • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
>>> • : Update Mockito 3.6.0 -> 3.7.0.
>>> • : Update XML Unit 2.8.0 -> 2.8.2.
>>> • : Update JSON Unit 2.21.0 -> 2.22.0.
>>> • : Update JaCoCo 0.8.3 -> 0.8.6.
>>> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
>>> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
>>> • : Update org.springframework:* 5.3.2 -> 5.3.3.
>>> • : Update mongodb4.version 4.1.1 -> 4.2.0.
>>> • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
>>> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>>> • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
>>> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
>>> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
>>> • : Update org.springframework:* 5.3.2 -> 5.3.3.
>>> • : Update mongodb4.version 4.1.1 -> 4.2.0.
>>> • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
>>> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>>> • com.fasterxml.jackson.core:jackson-annotations
>>> ................. 2.12.1 -> 2.12.2
>>> - com.fasterxml.jackson.core:jackson-core
>>> ........................ 2.12.1 -> 2.12.2
>>> - com.fasterxml.jackson.core:jackson-databind
>>> .................... 2.12.1 -> 2.12.2
>>> - com.fasterxml.jackson.dataformat:jackson-dataformat-xml
>>> ........ 2.12.1 -> 2.12.2
>>> - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
>>> ....... 2.12.1 -> 2.12.2
>>> -
>>> com.fasterxml.jackson.module:jackson-module-jaxb-annotations ... 2.12.1 ->
>>> 2.12.2
>>> - org.apache.commons:commons-lang3
>>> ............................... 3.11 -> 3.12.0
>>> - org.junit.jupiter:junit-jupiter-engine
>>> ......................... 5.7.0 -> 5.7.1
>>> - org.junit.jupiter:junit-jupiter-migrationsupport
>>> ............... 5.7.0 -> 5.7.1
>>> - org.junit.jupiter:junit-jupiter-params
>>> ......................... 5.7.0 -> 5.7.1
>>> - org.junit.vintage:junit-vintage-engine
>>> ......................... 5.7.0 -> 5.7.1
>>> - org.mockito:mockito-core
>>> ....................................... 3.7.7 -> 3.8.0
>>> - org.mockito:mockito-junit-jupiter
>>> .............................. 3.7.7 -> 3.8.0
>>> - org.mongodb:bson
>>> ............................................... 4.2.0 -> 4.2.2
>>> - org.mongodb:mongodb-driver-sync
>>> ................................ 4.2.0 -> 4.2.2
>>>
>>> Tag:
>>> a) for a new copy do "git clone
>>> https://github.com/apache/logging-log4j2.git" and then "git checkout
>>> tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1
>>> https://github.com/apache/logging-log4j2.git"
>>> b) for an existing working copy to “git pull” and then “git checkout
>>> tags/log4j-2.14.1-rc1”
>>>
>>> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>>>
>>> Maven Artifacts:
>>> https://repository.apache.org/content/repositories/orgapachelogging-1062
>>>
>>> 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-1062/org/apache/logging/log4j/
>>>
>>> Ralph
>>>
>>>
>>>
>>>
>
>
>
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Volkan Yazıcı <vo...@gmail.com>.
Yes, that is from the website. Build the website with "./mvnw site", browse
to "Layouts" and click to "JSON Template Layout" from the menu on the left.
It used to work. Note that this might be a hiccup on my side too, hence I
will really appreciate a confirmation.
On Sun, 7 Mar 2021, 21:58 Ralph Goers <ra...@dslextreme.com> wrote:
> See - https://issues.apache.org/jira/projects/MDOAP/issues/MDOAP-61. This
> is documented as part of the release process.
>
> I don’t understand the impact of the missing json-template-layout.html.
> Is that from the web site? Was it present in 2.14.0 and why is it missing
> now?
>
> Ralph
>
>
>
> > On Mar 7, 2021, at 1:37 PM, Volkan Yazıcı <vo...@gmail.com>
> wrote:
> >
> > -1, due to missing `json-template-layout.html` file!
> >
> > `./mvnw site` fails for me thanks to maven-doap-plugin:
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-doap-plugin:1.2:generate (site) on project
> > log4j: Execution site of goal
> > org.apache.maven.plugins:maven-doap-plugin:1.2:generate failed: An API
> > incompatibility was encountered while executing
> > org.apache.maven.plugins:maven-doap-plugin:1.2:generate:
> > java.lang.ExceptionInInitializerError: null
> > [ERROR] -----------------------------------------------------
> > [ERROR] realm = plugin>org.apache.maven.plugins:maven-doap-plugin:1.2
> > [ERROR] strategy =
> > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> > [ERROR] urls[0] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/plugins/maven-doap-plugin/1.2/maven-doap-plugin-1.2.jar
> > [ERROR] urls[1] =
> >
> file:/home/vy/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> > [ERROR] urls[2] =
> > file:/home/vy/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> > [ERROR] urls[3] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-api/1.9.2/maven-scm-api-1.9.2.jar
> > [ERROR] urls[4] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-manager-plexus/1.9.2/maven-scm-manager-plexus-1.9.2.jar
> > [ERROR] urls[5] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svn-commons/1.9.2/maven-scm-provider-svn-commons-1.9.2.jar
> > [ERROR] urls[6] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svnexe/1.9.2/maven-scm-provider-svnexe-1.9.2.jar
> > [ERROR] urls[7] =
> >
> file:/home/vy/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
> > [ERROR] urls[8] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.9.2/maven-scm-provider-cvs-commons-1.9.2.jar
> > [ERROR] urls[9] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9.2/maven-scm-provider-cvsexe-1.9.2.jar
> > [ERROR] urls[10] =
> >
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsjava/1.9.2/maven-scm-provider-cvsjava-1.9.2.jar
> > [ERROR] urls[11] =
> >
> file:/home/vy/.m2/repository/org/netbeans/lib/cvsclient/20060125/cvsclient-20060125.jar
> > [ERROR] urls[12] =
> >
> file:/home/vy/.m2/repository/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar
> > [ERROR] urls[13] =
> >
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
> > [ERROR] urls[14] =
> >
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
> > [ERROR] urls[15] =
> >
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar
> > [ERROR] urls[16] =
> > file:/home/vy/.m2/repository/com/hp/hpl/jena/jena/2.6.3/jena-2.6.3.jar
> > [ERROR] urls[17] =
> > file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8.jar
> > [ERROR] urls[18] =
> > file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar
> > [ERROR] urls[19] =
> > file:/home/vy/.m2/repository/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar
> > [ERROR] urls[20] =
> > file:/home/vy/.m2/repository/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar
> > [ERROR] urls[21] =
> >
> file:/home/vy/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar
> > [ERROR] urls[22] =
> > file:/home/vy/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
> > [ERROR] urls[23] =
> >
> file:/home/vy/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
> > [ERROR] urls[24] =
> >
> file:/home/vy/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> > [ERROR] urls[25] =
> >
> file:/home/vy/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> > [ERROR] Number of foreign imports: 1
> > [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent:
> > null]]
> > [ERROR]
> > [ERROR] -----------------------------------------------------
> > [ERROR] : Invalid version number: Version number may be negative or
> greater
> > than 255
> >
> > I don't know if this is something already known. Then I fall back to
> > `./mvnw site -DskipTests=true -Dmaven.doap.skip=true`.
> >
> > `layout.html` looks good, but *I could not locate
> > `json-template-layout.html`. Instead, there is a
> > `json-template-layout.vm.html` file. Would you mind confirming
> > `json-template-layout.html` gets generated, please?*
> >
> > I will also appreciate the small correction for `layouts.xml.vm` I share
> > below, though feel free to ignore it if you think this blocks the
> release.
> >
> > diff --git a/src/site/xdoc/manual/layouts.xml.vm
> > b/src/site/xdoc/manual/layouts.xml.vm
> > index 52b415dd9..30361d9ac 100644
> > --- a/src/site/xdoc/manual/layouts.xml.vm
> > +++ b/src/site/xdoc/manual/layouts.xml.vm
> > @@ -208,13 +208,14 @@ logger.debug("one={}, two={}, three={}", 1, 2, 3);
> > },
> > "exception_message": {
> > "${dollar}resolver": "exception",
> > - "field": "message",
> > - "stringified": true
> > + "field": "message"
> > },
> > "stacktrace": {
> > "${dollar}resolver": "exception",
> > "field": "stackTrace",
> > - "stringified": true
> > + "stackTrace": {
> > + "stringified": true
> > + }
> > }
> > },
> > "line_number": {
> >
> > This has slipped through my eyes while backporting forwarded-ported
> > LOG4J2-2993.
> >
> > Besides these documentation & site related issues, `./mvnw clean verify`
> > works for me.
> > OS: Ubuntu 20.04.2 LTS
> > JDK 8: 1.8.0_272 (AdoptOpenJDK)
> > JDK 9+: 11.0.6+10 (AdoptOpenJDK)
> >
> > Kind regards.
> >
> > On Sun, Mar 7, 2021 at 7:46 AM Ralph Goers <ra...@dslextreme.com>
> > wrote:
> >
> >> This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend with
> >> "mdc" resolver.
> >> • LOG4J2-2999: Replace JsonTemplateLayout resolver configurations
> >> table in docs with sections.
> >> • LOG4J2-2993: Support stack trace truncation in
> >> JsonTemplateLayout.
> >> Fixed Bugs
> >>
> >> • LOG4J2-3033: Add log method with no parameters - i.e. it has an
> >> empty message.
> >> • LOG4J2-2947: Document that LogBuilder default methods do
> nothing.
> >> • LOG4J2-2948: Replace HashSet with IdentityHashMap in
> >> ParameterFormatter to detect cycles.
> >> • LOG4J2-3028: OutputStreamManager.flushBuffer always resets the
> >> buffer, previously the buffer was not reset after an exception. Thanks
> to
> >> Jakub Kozlowski.
> >> • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause the
> >> file to roll over with DirectWriteTriggeringPolicy unless minSize was
> set
> >> to 0.
> >> • LOG4J2-2990: Reduce garbage by using putAll when copying the
> >> ThreadContext for SLF4J. Thanks to Diogo Monteiro.
> >> • LOG4J2-3006: Directly create a thread instead of using the
> >> common ForkJoin pool when initializing ThreadContextDataInjector"
> >> • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be
> >> turned off and provide a ServletContextListener
> >> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
> >> listener at the top of web.xml to ensure the shutdown happens last.
> Thanks
> >> to Tim Perry.
> >> • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be
> >> turned off and provide a ServletContextListener
> >> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
> >> listener at the top of web.xml to ensure the shutdown happens last.
> Thanks
> >> to Tim Perry.
> >> • LOG4J2-2998: Fix truncation of excessive strings ending with a
> >> high surrogate in JsonWriter.
> >> • LOG4J2-2973: Rename EventTemplateAdditionalField#type
> >> (conflicting with properties file parser) to "format". Thanks to Fabio
> >> Ricchiuti.
> >> • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for
> >> handling of Throwables.
> >> • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to
> >> JsonTemplateLayout.
> >> • LOG4J2-2974: Log4j would fail to initialize in Java 8 with
> >> log4j-spring-boot.
> >> • LOG4J2-2964: Merge packages from several Configurations in
> >> Composite Configuration. Thanks to Valery Yatsynovich.
> >> • LOG4J2-2961: Fix reading of JsonTemplateLayout event additional
> >> fields from config.
> >> • LOG4J2-2916: Avoid redundant Kafka producer instantiation
> >> causing thread leaks. Thanks to wuqian0808.
> >> • LOG4J2-2967: Fix JsonTemplateLayout index based parameter
> >> resolution when messages contain too few parameters.
> >> • LOG4J2-2976: JdbcAppender composes an incorrect INSERT
> statement
> >> without a ColumnMapping element.
> >> • LOG4J2-3014: Log4j1ConfigurationConverter on Windows produces "
> >> " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
> >> Changes
> >>
> >> • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration
> >> files are updated.
> >> • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6,
> and
> >> Spring Cloud to Hoxton.SR9
> >> • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
> >> • : Update commons-codec:commons-codec 1.14 -> 1.15.
> >> • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
> >> • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
> >> • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
> >> • : Update commons-io:commons-io 2.7 -> 2.8.0.
> >> • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
> >> • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
> >> • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
> >> • : Update junit:junit 4.13 -> 4.13.1.
> >> • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
> >> • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
> >> • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
> >> • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
> >> • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6 ->
> >> 3.12.7.
> >> • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
> >> • : Update org.eclipse.tycho:org.eclipse.osgi
> >> 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
> >> • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0 ->
> >> 3.0.0.
> >> • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
> >> • : Update Mockito 3.6.0 -> 3.7.0.
> >> • : Update XML Unit 2.8.0 -> 2.8.2.
> >> • : Update JSON Unit 2.21.0 -> 2.22.0.
> >> • : Update JaCoCo 0.8.3 -> 0.8.6.
> >> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> >> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> >> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> >> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> >> • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
> >> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> >> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> >> • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
> >> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> >> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> >> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> >> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> >> • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
> >> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> >> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> >> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> >> • com.fasterxml.jackson.core:jackson-annotations
> >> ................. 2.12.1 -> 2.12.2
> >> - com.fasterxml.jackson.core:jackson-core
> >> ........................ 2.12.1 -> 2.12.2
> >> - com.fasterxml.jackson.core:jackson-databind
> >> .................... 2.12.1 -> 2.12.2
> >> - com.fasterxml.jackson.dataformat:jackson-dataformat-xml
> >> ........ 2.12.1 -> 2.12.2
> >> - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
> >> ....... 2.12.1 -> 2.12.2
> >> -
> >> com.fasterxml.jackson.module:jackson-module-jaxb-annotations ... 2.12.1
> ->
> >> 2.12.2
> >> - org.apache.commons:commons-lang3
> >> ............................... 3.11 -> 3.12.0
> >> - org.junit.jupiter:junit-jupiter-engine
> >> ......................... 5.7.0 -> 5.7.1
> >> - org.junit.jupiter:junit-jupiter-migrationsupport
> >> ............... 5.7.0 -> 5.7.1
> >> - org.junit.jupiter:junit-jupiter-params
> >> ......................... 5.7.0 -> 5.7.1
> >> - org.junit.vintage:junit-vintage-engine
> >> ......................... 5.7.0 -> 5.7.1
> >> - org.mockito:mockito-core
> >> ....................................... 3.7.7 -> 3.8.0
> >> - org.mockito:mockito-junit-jupiter
> >> .............................. 3.7.7 -> 3.8.0
> >> - org.mongodb:bson
> >> ............................................... 4.2.0 -> 4.2.2
> >> - org.mongodb:mongodb-driver-sync
> >> ................................ 4.2.0 -> 4.2.2
> >>
> >> Tag:
> >> a) for a new copy do "git clone
> >> https://github.com/apache/logging-log4j2.git" and then "git checkout
> >> tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1
> >> https://github.com/apache/logging-log4j2.git"
> >> b) for an existing working copy to “git pull” and then “git checkout
> >> tags/log4j-2.14.1-rc1”
> >>
> >> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
> >>
> >> Maven Artifacts:
> >>
> https://repository.apache.org/content/repositories/orgapachelogging-1062
> >>
> >> 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-1062/org/apache/logging/log4j/
> >>
> >> Ralph
> >>
> >>
> >>
> >>
>
>
>
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Ralph Goers <ra...@dslextreme.com>.
See - https://issues.apache.org/jira/projects/MDOAP/issues/MDOAP-61. This is documented as part of the release process.
I don’t understand the impact of the missing json-template-layout.html. Is that from the web site? Was it present in 2.14.0 and why is it missing now?
Ralph
> On Mar 7, 2021, at 1:37 PM, Volkan Yazıcı <vo...@gmail.com> wrote:
>
> -1, due to missing `json-template-layout.html` file!
>
> `./mvnw site` fails for me thanks to maven-doap-plugin:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-doap-plugin:1.2:generate (site) on project
> log4j: Execution site of goal
> org.apache.maven.plugins:maven-doap-plugin:1.2:generate failed: An API
> incompatibility was encountered while executing
> org.apache.maven.plugins:maven-doap-plugin:1.2:generate:
> java.lang.ExceptionInInitializerError: null
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>org.apache.maven.plugins:maven-doap-plugin:1.2
> [ERROR] strategy =
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] =
> file:/home/vy/.m2/repository/org/apache/maven/plugins/maven-doap-plugin/1.2/maven-doap-plugin-1.2.jar
> [ERROR] urls[1] =
> file:/home/vy/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> [ERROR] urls[2] =
> file:/home/vy/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> [ERROR] urls[3] =
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-api/1.9.2/maven-scm-api-1.9.2.jar
> [ERROR] urls[4] =
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-manager-plexus/1.9.2/maven-scm-manager-plexus-1.9.2.jar
> [ERROR] urls[5] =
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svn-commons/1.9.2/maven-scm-provider-svn-commons-1.9.2.jar
> [ERROR] urls[6] =
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svnexe/1.9.2/maven-scm-provider-svnexe-1.9.2.jar
> [ERROR] urls[7] =
> file:/home/vy/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
> [ERROR] urls[8] =
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.9.2/maven-scm-provider-cvs-commons-1.9.2.jar
> [ERROR] urls[9] =
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9.2/maven-scm-provider-cvsexe-1.9.2.jar
> [ERROR] urls[10] =
> file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsjava/1.9.2/maven-scm-provider-cvsjava-1.9.2.jar
> [ERROR] urls[11] =
> file:/home/vy/.m2/repository/org/netbeans/lib/cvsclient/20060125/cvsclient-20060125.jar
> [ERROR] urls[12] =
> file:/home/vy/.m2/repository/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar
> [ERROR] urls[13] =
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
> [ERROR] urls[14] =
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
> [ERROR] urls[15] =
> file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar
> [ERROR] urls[16] =
> file:/home/vy/.m2/repository/com/hp/hpl/jena/jena/2.6.3/jena-2.6.3.jar
> [ERROR] urls[17] =
> file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8.jar
> [ERROR] urls[18] =
> file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar
> [ERROR] urls[19] =
> file:/home/vy/.m2/repository/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar
> [ERROR] urls[20] =
> file:/home/vy/.m2/repository/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar
> [ERROR] urls[21] =
> file:/home/vy/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar
> [ERROR] urls[22] =
> file:/home/vy/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
> [ERROR] urls[23] =
> file:/home/vy/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
> [ERROR] urls[24] =
> file:/home/vy/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> [ERROR] urls[25] =
> file:/home/vy/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent:
> null]]
> [ERROR]
> [ERROR] -----------------------------------------------------
> [ERROR] : Invalid version number: Version number may be negative or greater
> than 255
>
> I don't know if this is something already known. Then I fall back to
> `./mvnw site -DskipTests=true -Dmaven.doap.skip=true`.
>
> `layout.html` looks good, but *I could not locate
> `json-template-layout.html`. Instead, there is a
> `json-template-layout.vm.html` file. Would you mind confirming
> `json-template-layout.html` gets generated, please?*
>
> I will also appreciate the small correction for `layouts.xml.vm` I share
> below, though feel free to ignore it if you think this blocks the release.
>
> diff --git a/src/site/xdoc/manual/layouts.xml.vm
> b/src/site/xdoc/manual/layouts.xml.vm
> index 52b415dd9..30361d9ac 100644
> --- a/src/site/xdoc/manual/layouts.xml.vm
> +++ b/src/site/xdoc/manual/layouts.xml.vm
> @@ -208,13 +208,14 @@ logger.debug("one={}, two={}, three={}", 1, 2, 3);
> },
> "exception_message": {
> "${dollar}resolver": "exception",
> - "field": "message",
> - "stringified": true
> + "field": "message"
> },
> "stacktrace": {
> "${dollar}resolver": "exception",
> "field": "stackTrace",
> - "stringified": true
> + "stackTrace": {
> + "stringified": true
> + }
> }
> },
> "line_number": {
>
> This has slipped through my eyes while backporting forwarded-ported
> LOG4J2-2993.
>
> Besides these documentation & site related issues, `./mvnw clean verify`
> works for me.
> OS: Ubuntu 20.04.2 LTS
> JDK 8: 1.8.0_272 (AdoptOpenJDK)
> JDK 9+: 11.0.6+10 (AdoptOpenJDK)
>
> Kind regards.
>
> On Sun, Mar 7, 2021 at 7:46 AM Ralph Goers <ra...@dslextreme.com>
> wrote:
>
>> This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend with
>> "mdc" resolver.
>> • LOG4J2-2999: Replace JsonTemplateLayout resolver configurations
>> table in docs with sections.
>> • LOG4J2-2993: Support stack trace truncation in
>> JsonTemplateLayout.
>> Fixed Bugs
>>
>> • LOG4J2-3033: Add log method with no parameters - i.e. it has an
>> empty message.
>> • LOG4J2-2947: Document that LogBuilder default methods do nothing.
>> • LOG4J2-2948: Replace HashSet with IdentityHashMap in
>> ParameterFormatter to detect cycles.
>> • LOG4J2-3028: OutputStreamManager.flushBuffer always resets the
>> buffer, previously the buffer was not reset after an exception. Thanks to
>> Jakub Kozlowski.
>> • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause the
>> file to roll over with DirectWriteTriggeringPolicy unless minSize was set
>> to 0.
>> • LOG4J2-2990: Reduce garbage by using putAll when copying the
>> ThreadContext for SLF4J. Thanks to Diogo Monteiro.
>> • LOG4J2-3006: Directly create a thread instead of using the
>> common ForkJoin pool when initializing ThreadContextDataInjector"
>> • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be
>> turned off and provide a ServletContextListener
>> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
>> listener at the top of web.xml to ensure the shutdown happens last. Thanks
>> to Tim Perry.
>> • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be
>> turned off and provide a ServletContextListener
>> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
>> listener at the top of web.xml to ensure the shutdown happens last. Thanks
>> to Tim Perry.
>> • LOG4J2-2998: Fix truncation of excessive strings ending with a
>> high surrogate in JsonWriter.
>> • LOG4J2-2973: Rename EventTemplateAdditionalField#type
>> (conflicting with properties file parser) to "format". Thanks to Fabio
>> Ricchiuti.
>> • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for
>> handling of Throwables.
>> • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to
>> JsonTemplateLayout.
>> • LOG4J2-2974: Log4j would fail to initialize in Java 8 with
>> log4j-spring-boot.
>> • LOG4J2-2964: Merge packages from several Configurations in
>> Composite Configuration. Thanks to Valery Yatsynovich.
>> • LOG4J2-2961: Fix reading of JsonTemplateLayout event additional
>> fields from config.
>> • LOG4J2-2916: Avoid redundant Kafka producer instantiation
>> causing thread leaks. Thanks to wuqian0808.
>> • LOG4J2-2967: Fix JsonTemplateLayout index based parameter
>> resolution when messages contain too few parameters.
>> • LOG4J2-2976: JdbcAppender composes an incorrect INSERT statement
>> without a ColumnMapping element.
>> • LOG4J2-3014: Log4j1ConfigurationConverter on Windows produces "
>> " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
>> Changes
>>
>> • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration
>> files are updated.
>> • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6, and
>> Spring Cloud to Hoxton.SR9
>> • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
>> • : Update commons-codec:commons-codec 1.14 -> 1.15.
>> • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
>> • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
>> • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
>> • : Update commons-io:commons-io 2.7 -> 2.8.0.
>> • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
>> • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
>> • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
>> • : Update junit:junit 4.13 -> 4.13.1.
>> • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
>> • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
>> • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
>> • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
>> • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6 ->
>> 3.12.7.
>> • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
>> • : Update org.eclipse.tycho:org.eclipse.osgi
>> 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
>> • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0 ->
>> 3.0.0.
>> • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
>> • : Update Mockito 3.6.0 -> 3.7.0.
>> • : Update XML Unit 2.8.0 -> 2.8.2.
>> • : Update JSON Unit 2.21.0 -> 2.22.0.
>> • : Update JaCoCo 0.8.3 -> 0.8.6.
>> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
>> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
>> • : Update org.springframework:* 5.3.2 -> 5.3.3.
>> • : Update mongodb4.version 4.1.1 -> 4.2.0.
>> • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
>> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>> • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
>> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
>> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
>> • : Update org.springframework:* 5.3.2 -> 5.3.3.
>> • : Update mongodb4.version 4.1.1 -> 4.2.0.
>> • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
>> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>> • com.fasterxml.jackson.core:jackson-annotations
>> ................. 2.12.1 -> 2.12.2
>> - com.fasterxml.jackson.core:jackson-core
>> ........................ 2.12.1 -> 2.12.2
>> - com.fasterxml.jackson.core:jackson-databind
>> .................... 2.12.1 -> 2.12.2
>> - com.fasterxml.jackson.dataformat:jackson-dataformat-xml
>> ........ 2.12.1 -> 2.12.2
>> - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
>> ....... 2.12.1 -> 2.12.2
>> -
>> com.fasterxml.jackson.module:jackson-module-jaxb-annotations ... 2.12.1 ->
>> 2.12.2
>> - org.apache.commons:commons-lang3
>> ............................... 3.11 -> 3.12.0
>> - org.junit.jupiter:junit-jupiter-engine
>> ......................... 5.7.0 -> 5.7.1
>> - org.junit.jupiter:junit-jupiter-migrationsupport
>> ............... 5.7.0 -> 5.7.1
>> - org.junit.jupiter:junit-jupiter-params
>> ......................... 5.7.0 -> 5.7.1
>> - org.junit.vintage:junit-vintage-engine
>> ......................... 5.7.0 -> 5.7.1
>> - org.mockito:mockito-core
>> ....................................... 3.7.7 -> 3.8.0
>> - org.mockito:mockito-junit-jupiter
>> .............................. 3.7.7 -> 3.8.0
>> - org.mongodb:bson
>> ............................................... 4.2.0 -> 4.2.2
>> - org.mongodb:mongodb-driver-sync
>> ................................ 4.2.0 -> 4.2.2
>>
>> Tag:
>> a) for a new copy do "git clone
>> https://github.com/apache/logging-log4j2.git" and then "git checkout
>> tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1
>> https://github.com/apache/logging-log4j2.git"
>> b) for an existing working copy to “git pull” and then “git checkout
>> tags/log4j-2.14.1-rc1”
>>
>> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>>
>> Maven Artifacts:
>> https://repository.apache.org/content/repositories/orgapachelogging-1062
>>
>> 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-1062/org/apache/logging/log4j/
>>
>> Ralph
>>
>>
>>
>>
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Volkan Yazıcı <vo...@gmail.com>.
-1, due to missing `json-template-layout.html` file!
`./mvnw site` fails for me thanks to maven-doap-plugin:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-doap-plugin:1.2:generate (site) on project
log4j: Execution site of goal
org.apache.maven.plugins:maven-doap-plugin:1.2:generate failed: An API
incompatibility was encountered while executing
org.apache.maven.plugins:maven-doap-plugin:1.2:generate:
java.lang.ExceptionInInitializerError: null
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.plugins:maven-doap-plugin:1.2
[ERROR] strategy =
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] =
file:/home/vy/.m2/repository/org/apache/maven/plugins/maven-doap-plugin/1.2/maven-doap-plugin-1.2.jar
[ERROR] urls[1] =
file:/home/vy/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
[ERROR] urls[2] =
file:/home/vy/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[3] =
file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-api/1.9.2/maven-scm-api-1.9.2.jar
[ERROR] urls[4] =
file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-manager-plexus/1.9.2/maven-scm-manager-plexus-1.9.2.jar
[ERROR] urls[5] =
file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svn-commons/1.9.2/maven-scm-provider-svn-commons-1.9.2.jar
[ERROR] urls[6] =
file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-svnexe/1.9.2/maven-scm-provider-svnexe-1.9.2.jar
[ERROR] urls[7] =
file:/home/vy/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
[ERROR] urls[8] =
file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.9.2/maven-scm-provider-cvs-commons-1.9.2.jar
[ERROR] urls[9] =
file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9.2/maven-scm-provider-cvsexe-1.9.2.jar
[ERROR] urls[10] =
file:/home/vy/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsjava/1.9.2/maven-scm-provider-cvsjava-1.9.2.jar
[ERROR] urls[11] =
file:/home/vy/.m2/repository/org/netbeans/lib/cvsclient/20060125/cvsclient-20060125.jar
[ERROR] urls[12] =
file:/home/vy/.m2/repository/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar
[ERROR] urls[13] =
file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
[ERROR] urls[14] =
file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
[ERROR] urls[15] =
file:/home/vy/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar
[ERROR] urls[16] =
file:/home/vy/.m2/repository/com/hp/hpl/jena/jena/2.6.3/jena-2.6.3.jar
[ERROR] urls[17] =
file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8.jar
[ERROR] urls[18] =
file:/home/vy/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar
[ERROR] urls[19] =
file:/home/vy/.m2/repository/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar
[ERROR] urls[20] =
file:/home/vy/.m2/repository/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar
[ERROR] urls[21] =
file:/home/vy/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar
[ERROR] urls[22] =
file:/home/vy/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
[ERROR] urls[23] =
file:/home/vy/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
[ERROR] urls[24] =
file:/home/vy/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
[ERROR] urls[25] =
file:/home/vy/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent:
null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : Invalid version number: Version number may be negative or greater
than 255
I don't know if this is something already known. Then I fall back to
`./mvnw site -DskipTests=true -Dmaven.doap.skip=true`.
`layout.html` looks good, but *I could not locate
`json-template-layout.html`. Instead, there is a
`json-template-layout.vm.html` file. Would you mind confirming
`json-template-layout.html` gets generated, please?*
I will also appreciate the small correction for `layouts.xml.vm` I share
below, though feel free to ignore it if you think this blocks the release.
diff --git a/src/site/xdoc/manual/layouts.xml.vm
b/src/site/xdoc/manual/layouts.xml.vm
index 52b415dd9..30361d9ac 100644
--- a/src/site/xdoc/manual/layouts.xml.vm
+++ b/src/site/xdoc/manual/layouts.xml.vm
@@ -208,13 +208,14 @@ logger.debug("one={}, two={}, three={}", 1, 2, 3);
},
"exception_message": {
"${dollar}resolver": "exception",
- "field": "message",
- "stringified": true
+ "field": "message"
},
"stacktrace": {
"${dollar}resolver": "exception",
"field": "stackTrace",
- "stringified": true
+ "stackTrace": {
+ "stringified": true
+ }
}
},
"line_number": {
This has slipped through my eyes while backporting forwarded-ported
LOG4J2-2993.
Besides these documentation & site related issues, `./mvnw clean verify`
works for me.
OS: Ubuntu 20.04.2 LTS
JDK 8: 1.8.0_272 (AdoptOpenJDK)
JDK 9+: 11.0.6+10 (AdoptOpenJDK)
Kind regards.
On Sun, Mar 7, 2021 at 7:46 AM Ralph Goers <ra...@dslextreme.com>
wrote:
> This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend with
> "mdc" resolver.
> • LOG4J2-2999: Replace JsonTemplateLayout resolver configurations
> table in docs with sections.
> • LOG4J2-2993: Support stack trace truncation in
> JsonTemplateLayout.
> Fixed Bugs
>
> • LOG4J2-3033: Add log method with no parameters - i.e. it has an
> empty message.
> • LOG4J2-2947: Document that LogBuilder default methods do nothing.
> • LOG4J2-2948: Replace HashSet with IdentityHashMap in
> ParameterFormatter to detect cycles.
> • LOG4J2-3028: OutputStreamManager.flushBuffer always resets the
> buffer, previously the buffer was not reset after an exception. Thanks to
> Jakub Kozlowski.
> • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause the
> file to roll over with DirectWriteTriggeringPolicy unless minSize was set
> to 0.
> • LOG4J2-2990: Reduce garbage by using putAll when copying the
> ThreadContext for SLF4J. Thanks to Diogo Monteiro.
> • LOG4J2-3006: Directly create a thread instead of using the
> common ForkJoin pool when initializing ThreadContextDataInjector"
> • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be
> turned off and provide a ServletContextListener
> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
> listener at the top of web.xml to ensure the shutdown happens last. Thanks
> to Tim Perry.
> • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be
> turned off and provide a ServletContextListener
> "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the
> listener at the top of web.xml to ensure the shutdown happens last. Thanks
> to Tim Perry.
> • LOG4J2-2998: Fix truncation of excessive strings ending with a
> high surrogate in JsonWriter.
> • LOG4J2-2973: Rename EventTemplateAdditionalField#type
> (conflicting with properties file parser) to "format". Thanks to Fabio
> Ricchiuti.
> • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for
> handling of Throwables.
> • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to
> JsonTemplateLayout.
> • LOG4J2-2974: Log4j would fail to initialize in Java 8 with
> log4j-spring-boot.
> • LOG4J2-2964: Merge packages from several Configurations in
> Composite Configuration. Thanks to Valery Yatsynovich.
> • LOG4J2-2961: Fix reading of JsonTemplateLayout event additional
> fields from config.
> • LOG4J2-2916: Avoid redundant Kafka producer instantiation
> causing thread leaks. Thanks to wuqian0808.
> • LOG4J2-2967: Fix JsonTemplateLayout index based parameter
> resolution when messages contain too few parameters.
> • LOG4J2-2976: JdbcAppender composes an incorrect INSERT statement
> without a ColumnMapping element.
> • LOG4J2-3014: Log4j1ConfigurationConverter on Windows produces "
> " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
> Changes
>
> • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration
> files are updated.
> • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6, and
> Spring Cloud to Hoxton.SR9
> • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
> • : Update commons-codec:commons-codec 1.14 -> 1.15.
> • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
> • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
> • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
> • : Update commons-io:commons-io 2.7 -> 2.8.0.
> • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
> • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
> • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
> • : Update junit:junit 4.13 -> 4.13.1.
> • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
> • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
> • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
> • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
> • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6 ->
> 3.12.7.
> • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
> • : Update org.eclipse.tycho:org.eclipse.osgi
> 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
> • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0 ->
> 3.0.0.
> • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
> • : Update Mockito 3.6.0 -> 3.7.0.
> • : Update XML Unit 2.8.0 -> 2.8.2.
> • : Update JSON Unit 2.21.0 -> 2.22.0.
> • : Update JaCoCo 0.8.3 -> 0.8.6.
> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> • com.fasterxml.jackson.core:jackson-annotations
> ................. 2.12.1 -> 2.12.2
> - com.fasterxml.jackson.core:jackson-core
> ........................ 2.12.1 -> 2.12.2
> - com.fasterxml.jackson.core:jackson-databind
> .................... 2.12.1 -> 2.12.2
> - com.fasterxml.jackson.dataformat:jackson-dataformat-xml
> ........ 2.12.1 -> 2.12.2
> - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
> ....... 2.12.1 -> 2.12.2
> -
> com.fasterxml.jackson.module:jackson-module-jaxb-annotations ... 2.12.1 ->
> 2.12.2
> - org.apache.commons:commons-lang3
> ............................... 3.11 -> 3.12.0
> - org.junit.jupiter:junit-jupiter-engine
> ......................... 5.7.0 -> 5.7.1
> - org.junit.jupiter:junit-jupiter-migrationsupport
> ............... 5.7.0 -> 5.7.1
> - org.junit.jupiter:junit-jupiter-params
> ......................... 5.7.0 -> 5.7.1
> - org.junit.vintage:junit-vintage-engine
> ......................... 5.7.0 -> 5.7.1
> - org.mockito:mockito-core
> ....................................... 3.7.7 -> 3.8.0
> - org.mockito:mockito-junit-jupiter
> .............................. 3.7.7 -> 3.8.0
> - org.mongodb:bson
> ............................................... 4.2.0 -> 4.2.2
> - org.mongodb:mongodb-driver-sync
> ................................ 4.2.0 -> 4.2.2
>
> Tag:
> a) for a new copy do "git clone
> https://github.com/apache/logging-log4j2.git" and then "git checkout
> tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1
> https://github.com/apache/logging-log4j2.git"
> b) for an existing working copy to “git pull” and then “git checkout
> tags/log4j-2.14.1-rc1”
>
> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>
> Maven Artifacts:
> https://repository.apache.org/content/repositories/orgapachelogging-1062
>
> 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-1062/org/apache/logging/log4j/
>
> Ralph
>
>
>
>
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Matt Sicker <bo...@gmail.com>.
+1
Tested on macOS with Java 8. Didn't try compiling with newer Java as
the default due to known issues with some hard-coded things.
Signatures good, build and tests good.
On Sun, 7 Mar 2021 at 08:48, Gary Gregory <ga...@gmail.com> wrote:
>
> +1
>
> Testing using the git tag for this RC:
>
> - mvn RAT check OK.
> - mvn clean install OK.
> - mvn revapi:check -pl log4j-api OK.
> - mvn revapi:check -pl log4j-1.2-api fails but with what looks like
> non-1.2 changes.
>
> Tested using:
>
> Macos:
>
> openjdk version "1.8.0_282"
> OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_282-b08)
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.282-b08, mixed mode)
>
> Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
> Java version: 1.8.0_282, vendor: AdoptOpenJDK, runtime:
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
>
> Windows 10:
>
> openjdk version "1.8.0_282"
> OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_282-b08)
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.282-b08, mixed mode)
>
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: C:\Java\apache-maven-3.6.3\bin\..
> Java version: 1.8.0_282, vendor: AdoptOpenJDK, runtime: C:\Program
> Files\AdoptOpenJDK\jdk-8.0.282.8-hotspot\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>
> Can't build on Java 11 due to com.sun.Reflection not found.
>
> Gary
>
> On Sun, Mar 7, 2021 at 1:46 AM Ralph Goers <ra...@dslextreme.com> wrote:
> >
> > This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend with "mdc" resolver.
> > • LOG4J2-2999: Replace JsonTemplateLayout resolver configurations table in docs with sections.
> > • LOG4J2-2993: Support stack trace truncation in JsonTemplateLayout.
> > Fixed Bugs
> >
> > • LOG4J2-3033: Add log method with no parameters - i.e. it has an empty message.
> > • LOG4J2-2947: Document that LogBuilder default methods do nothing.
> > • LOG4J2-2948: Replace HashSet with IdentityHashMap in ParameterFormatter to detect cycles.
> > • LOG4J2-3028: OutputStreamManager.flushBuffer always resets the buffer, previously the buffer was not reset after an exception. Thanks to Jakub Kozlowski.
> > • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause the file to roll over with DirectWriteTriggeringPolicy unless minSize was set to 0.
> > • LOG4J2-2990: Reduce garbage by using putAll when copying the ThreadContext for SLF4J. Thanks to Diogo Monteiro.
> > • LOG4J2-3006: Directly create a thread instead of using the common ForkJoin pool when initializing ThreadContextDataInjector"
> > • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be turned off and provide a ServletContextListener "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the listener at the top of web.xml to ensure the shutdown happens last. Thanks to Tim Perry.
> > • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be turned off and provide a ServletContextListener "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the listener at the top of web.xml to ensure the shutdown happens last. Thanks to Tim Perry.
> > • LOG4J2-2998: Fix truncation of excessive strings ending with a high surrogate in JsonWriter.
> > • LOG4J2-2973: Rename EventTemplateAdditionalField#type (conflicting with properties file parser) to "format". Thanks to Fabio Ricchiuti.
> > • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for handling of Throwables.
> > • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to JsonTemplateLayout.
> > • LOG4J2-2974: Log4j would fail to initialize in Java 8 with log4j-spring-boot.
> > • LOG4J2-2964: Merge packages from several Configurations in Composite Configuration. Thanks to Valery Yatsynovich.
> > • LOG4J2-2961: Fix reading of JsonTemplateLayout event additional fields from config.
> > • LOG4J2-2916: Avoid redundant Kafka producer instantiation causing thread leaks. Thanks to wuqian0808.
> > • LOG4J2-2967: Fix JsonTemplateLayout index based parameter resolution when messages contain too few parameters.
> > • LOG4J2-2976: JdbcAppender composes an incorrect INSERT statement without a ColumnMapping element.
> > • LOG4J2-3014: Log4j1ConfigurationConverter on Windows produces " " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
> > Changes
> >
> > • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration files are updated.
> > • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6, and Spring Cloud to Hoxton.SR9
> > • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
> > • : Update commons-codec:commons-codec 1.14 -> 1.15.
> > • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
> > • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
> > • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
> > • : Update commons-io:commons-io 2.7 -> 2.8.0.
> > • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
> > • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
> > • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
> > • : Update junit:junit 4.13 -> 4.13.1.
> > • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
> > • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
> > • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
> > • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
> > • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6 -> 3.12.7.
> > • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
> > • : Update org.eclipse.tycho:org.eclipse.osgi 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
> > • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0 -> 3.0.0.
> > • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
> > • : Update Mockito 3.6.0 -> 3.7.0.
> > • : Update XML Unit 2.8.0 -> 2.8.2.
> > • : Update JSON Unit 2.21.0 -> 2.22.0.
> > • : Update JaCoCo 0.8.3 -> 0.8.6.
> > • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> > • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> > • : Update org.springframework:* 5.3.2 -> 5.3.3.
> > • : Update mongodb4.version 4.1.1 -> 4.2.0.
> > • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
> > • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> > • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> > • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
> > • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> > • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> > • : Update org.springframework:* 5.3.2 -> 5.3.3.
> > • : Update mongodb4.version 4.1.1 -> 4.2.0.
> > • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
> > • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> > • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> > • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> > • com.fasterxml.jackson.core:jackson-annotations ................. 2.12.1 -> 2.12.2
> > - com.fasterxml.jackson.core:jackson-core ........................ 2.12.1 -> 2.12.2
> > - com.fasterxml.jackson.core:jackson-databind .................... 2.12.1 -> 2.12.2
> > - com.fasterxml.jackson.dataformat:jackson-dataformat-xml ........ 2.12.1 -> 2.12.2
> > - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml ....... 2.12.1 -> 2.12.2
> > - com.fasterxml.jackson.module:jackson-module-jaxb-annotations ... 2.12.1 -> 2.12.2
> > - org.apache.commons:commons-lang3 ............................... 3.11 -> 3.12.0
> > - org.junit.jupiter:junit-jupiter-engine ......................... 5.7.0 -> 5.7.1
> > - org.junit.jupiter:junit-jupiter-migrationsupport ............... 5.7.0 -> 5.7.1
> > - org.junit.jupiter:junit-jupiter-params ......................... 5.7.0 -> 5.7.1
> > - org.junit.vintage:junit-vintage-engine ......................... 5.7.0 -> 5.7.1
> > - org.mockito:mockito-core ....................................... 3.7.7 -> 3.8.0
> > - org.mockito:mockito-junit-jupiter .............................. 3.7.7 -> 3.8.0
> > - org.mongodb:bson ............................................... 4.2.0 -> 4.2.2
> > - org.mongodb:mongodb-driver-sync ................................ 4.2.0 -> 4.2.2
> >
> > Tag:
> > a) for a new copy do "git clone https://github.com/apache/logging-log4j2.git" and then "git checkout tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1 https://github.com/apache/logging-log4j2.git"
> > b) for an existing working copy to “git pull” and then “git checkout tags/log4j-2.14.1-rc1”
> >
> > Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
> >
> > Maven Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1062
> >
> > 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-1062/org/apache/logging/log4j/
> >
> > Ralph
> >
> >
> >
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Gary Gregory <ga...@gmail.com>.
+1
Testing using the git tag for this RC:
- mvn RAT check OK.
- mvn clean install OK.
- mvn revapi:check -pl log4j-api OK.
- mvn revapi:check -pl log4j-1.2-api fails but with what looks like
non-1.2 changes.
Tested using:
Macos:
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.282-b08, mixed mode)
Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
Java version: 1.8.0_282, vendor: AdoptOpenJDK, runtime:
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
Windows 10:
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.282-b08, mixed mode)
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\Java\apache-maven-3.6.3\bin\..
Java version: 1.8.0_282, vendor: AdoptOpenJDK, runtime: C:\Program
Files\AdoptOpenJDK\jdk-8.0.282.8-hotspot\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
Can't build on Java 11 due to com.sun.Reflection not found.
Gary
On Sun, Mar 7, 2021 at 1:46 AM Ralph Goers <ra...@dslextreme.com> wrote:
>
> This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend with "mdc" resolver.
> • LOG4J2-2999: Replace JsonTemplateLayout resolver configurations table in docs with sections.
> • LOG4J2-2993: Support stack trace truncation in JsonTemplateLayout.
> Fixed Bugs
>
> • LOG4J2-3033: Add log method with no parameters - i.e. it has an empty message.
> • LOG4J2-2947: Document that LogBuilder default methods do nothing.
> • LOG4J2-2948: Replace HashSet with IdentityHashMap in ParameterFormatter to detect cycles.
> • LOG4J2-3028: OutputStreamManager.flushBuffer always resets the buffer, previously the buffer was not reset after an exception. Thanks to Jakub Kozlowski.
> • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause the file to roll over with DirectWriteTriggeringPolicy unless minSize was set to 0.
> • LOG4J2-2990: Reduce garbage by using putAll when copying the ThreadContext for SLF4J. Thanks to Diogo Monteiro.
> • LOG4J2-3006: Directly create a thread instead of using the common ForkJoin pool when initializing ThreadContextDataInjector"
> • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be turned off and provide a ServletContextListener "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the listener at the top of web.xml to ensure the shutdown happens last. Thanks to Tim Perry.
> • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be turned off and provide a ServletContextListener "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the listener at the top of web.xml to ensure the shutdown happens last. Thanks to Tim Perry.
> • LOG4J2-2998: Fix truncation of excessive strings ending with a high surrogate in JsonWriter.
> • LOG4J2-2973: Rename EventTemplateAdditionalField#type (conflicting with properties file parser) to "format". Thanks to Fabio Ricchiuti.
> • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for handling of Throwables.
> • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to JsonTemplateLayout.
> • LOG4J2-2974: Log4j would fail to initialize in Java 8 with log4j-spring-boot.
> • LOG4J2-2964: Merge packages from several Configurations in Composite Configuration. Thanks to Valery Yatsynovich.
> • LOG4J2-2961: Fix reading of JsonTemplateLayout event additional fields from config.
> • LOG4J2-2916: Avoid redundant Kafka producer instantiation causing thread leaks. Thanks to wuqian0808.
> • LOG4J2-2967: Fix JsonTemplateLayout index based parameter resolution when messages contain too few parameters.
> • LOG4J2-2976: JdbcAppender composes an incorrect INSERT statement without a ColumnMapping element.
> • LOG4J2-3014: Log4j1ConfigurationConverter on Windows produces " " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
> Changes
>
> • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration files are updated.
> • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6, and Spring Cloud to Hoxton.SR9
> • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
> • : Update commons-codec:commons-codec 1.14 -> 1.15.
> • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
> • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
> • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
> • : Update commons-io:commons-io 2.7 -> 2.8.0.
> • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
> • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
> • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
> • : Update junit:junit 4.13 -> 4.13.1.
> • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
> • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
> • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
> • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
> • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6 -> 3.12.7.
> • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
> • : Update org.eclipse.tycho:org.eclipse.osgi 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
> • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0 -> 3.0.0.
> • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
> • : Update Mockito 3.6.0 -> 3.7.0.
> • : Update XML Unit 2.8.0 -> 2.8.2.
> • : Update JSON Unit 2.21.0 -> 2.22.0.
> • : Update JaCoCo 0.8.3 -> 0.8.6.
> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> • com.fasterxml.jackson.core:jackson-annotations ................. 2.12.1 -> 2.12.2
> - com.fasterxml.jackson.core:jackson-core ........................ 2.12.1 -> 2.12.2
> - com.fasterxml.jackson.core:jackson-databind .................... 2.12.1 -> 2.12.2
> - com.fasterxml.jackson.dataformat:jackson-dataformat-xml ........ 2.12.1 -> 2.12.2
> - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml ....... 2.12.1 -> 2.12.2
> - com.fasterxml.jackson.module:jackson-module-jaxb-annotations ... 2.12.1 -> 2.12.2
> - org.apache.commons:commons-lang3 ............................... 3.11 -> 3.12.0
> - org.junit.jupiter:junit-jupiter-engine ......................... 5.7.0 -> 5.7.1
> - org.junit.jupiter:junit-jupiter-migrationsupport ............... 5.7.0 -> 5.7.1
> - org.junit.jupiter:junit-jupiter-params ......................... 5.7.0 -> 5.7.1
> - org.junit.vintage:junit-vintage-engine ......................... 5.7.0 -> 5.7.1
> - org.mockito:mockito-core ....................................... 3.7.7 -> 3.8.0
> - org.mockito:mockito-junit-jupiter .............................. 3.7.7 -> 3.8.0
> - org.mongodb:bson ............................................... 4.2.0 -> 4.2.2
> - org.mongodb:mongodb-driver-sync ................................ 4.2.0 -> 4.2.2
>
> Tag:
> a) for a new copy do "git clone https://github.com/apache/logging-log4j2.git" and then "git checkout tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1 https://github.com/apache/logging-log4j2.git"
> b) for an existing working copy to “git pull” and then “git checkout tags/log4j-2.14.1-rc1”
>
> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>
> Maven Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1062
>
> 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-1062/org/apache/logging/log4j/
>
> Ralph
>
>
>
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Ralph Goers <ra...@dslextreme.com>.
My +1
Ralph
> On Mar 8, 2021, at 9:24 AM, Carter Kozak <ck...@ckozak.net> wrote:
>
> +1
>
> Verified the snapshots in a few internal projects, as well as code review and tests on the tag.
>
> Test pass on ubuntu:
> $ mvn clean && mvn install
>
> /usr/lib/jvm/java-11-openjdk-amd64/bin/java -version
> openjdk version "11.0.10" 2021-01-19
> OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
> OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)
>
> mvn apache-rat:check passes
>
> On Sun, Mar 7, 2021, at 01:46, Ralph Goers wrote:
>> This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend with "mdc" resolver.
>> • LOG4J2-2999: Replace JsonTemplateLayout resolver configurations table in docs with sections.
>> • LOG4J2-2993: Support stack trace truncation in JsonTemplateLayout.
>> Fixed Bugs
>>
>> • LOG4J2-3033: Add log method with no parameters - i.e. it has an empty message.
>> • LOG4J2-2947: Document that LogBuilder default methods do nothing.
>> • LOG4J2-2948: Replace HashSet with IdentityHashMap in ParameterFormatter to detect cycles.
>> • LOG4J2-3028: OutputStreamManager.flushBuffer always resets the buffer, previously the buffer was not reset after an exception. Thanks to Jakub Kozlowski.
>> • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause the file to roll over with DirectWriteTriggeringPolicy unless minSize was set to 0.
>> • LOG4J2-2990: Reduce garbage by using putAll when copying the ThreadContext for SLF4J. Thanks to Diogo Monteiro.
>> • LOG4J2-3006: Directly create a thread instead of using the common ForkJoin pool when initializing ThreadContextDataInjector"
>> • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be turned off and provide a ServletContextListener "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the listener at the top of web.xml to ensure the shutdown happens last. Thanks to Tim Perry.
>> • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be turned off and provide a ServletContextListener "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the listener at the top of web.xml to ensure the shutdown happens last. Thanks to Tim Perry.
>> • LOG4J2-2998: Fix truncation of excessive strings ending with a high surrogate in JsonWriter.
>> • LOG4J2-2973: Rename EventTemplateAdditionalField#type (conflicting with properties file parser) to "format". Thanks to Fabio Ricchiuti.
>> • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for handling of Throwables.
>> • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to JsonTemplateLayout.
>> • LOG4J2-2974: Log4j would fail to initialize in Java 8 with log4j-spring-boot.
>> • LOG4J2-2964: Merge packages from several Configurations in Composite Configuration. Thanks to Valery Yatsynovich.
>> • LOG4J2-2961: Fix reading of JsonTemplateLayout event additional fields from config.
>> • LOG4J2-2916: Avoid redundant Kafka producer instantiation causing thread leaks. Thanks to wuqian0808.
>> • LOG4J2-2967: Fix JsonTemplateLayout index based parameter resolution when messages contain too few parameters.
>> • LOG4J2-2976: JdbcAppender composes an incorrect INSERT statement without a ColumnMapping element.
>> • LOG4J2-3014: Log4j1ConfigurationConverter on Windows produces " " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
>> Changes
>>
>> • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration files are updated.
>> • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6, and Spring Cloud to Hoxton.SR9
>> • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
>> • : Update commons-codec:commons-codec 1.14 -> 1.15.
>> • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
>> • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
>> • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
>> • : Update commons-io:commons-io 2.7 -> 2.8.0.
>> • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
>> • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
>> • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
>> • : Update junit:junit 4.13 -> 4.13.1.
>> • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
>> • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
>> • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
>> • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
>> • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6 -> 3.12.7.
>> • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
>> • : Update org.eclipse.tycho:org.eclipse.osgi 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
>> • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0 -> 3.0.0.
>> • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
>> • : Update Mockito 3.6.0 -> 3.7.0.
>> • : Update XML Unit 2.8.0 -> 2.8.2.
>> • : Update JSON Unit 2.21.0 -> 2.22.0.
>> • : Update JaCoCo 0.8.3 -> 0.8.6.
>> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
>> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
>> • : Update org.springframework:* 5.3.2 -> 5.3.3.
>> • : Update mongodb4.version 4.1.1 -> 4.2.0.
>> • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
>> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>> • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
>> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
>> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
>> • : Update org.springframework:* 5.3.2 -> 5.3.3.
>> • : Update mongodb4.version 4.1.1 -> 4.2.0.
>> • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
>> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
>> • com.fasterxml.jackson.core:jackson-annotations ................. 2.12.1 -> 2.12.2
>> - com.fasterxml.jackson.core:jackson-core ........................ 2.12.1 -> 2.12.2
>> - com.fasterxml.jackson.core:jackson-databind .................... 2.12.1 -> 2.12.2
>> - com.fasterxml.jackson.dataformat:jackson-dataformat-xml ........ 2.12.1 -> 2.12.2
>> - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml ....... 2.12.1 -> 2.12.2
>> - com.fasterxml.jackson.module:jackson-module-jaxb-annotations ... 2.12.1 -> 2.12.2
>> - org.apache.commons:commons-lang3 ............................... 3.11 -> 3.12.0
>> - org.junit.jupiter:junit-jupiter-engine ......................... 5.7.0 -> 5.7.1
>> - org.junit.jupiter:junit-jupiter-migrationsupport ............... 5.7.0 -> 5.7.1
>> - org.junit.jupiter:junit-jupiter-params ......................... 5.7.0 -> 5.7.1
>> - org.junit.vintage:junit-vintage-engine ......................... 5.7.0 -> 5.7.1
>> - org.mockito:mockito-core ....................................... 3.7.7 -> 3.8.0
>> - org.mockito:mockito-junit-jupiter .............................. 3.7.7 -> 3.8.0
>> - org.mongodb:bson ............................................... 4.2.0 -> 4.2.2
>> - org.mongodb:mongodb-driver-sync ................................ 4.2.0 -> 4.2.2
>>
>> Tag:
>> a) for a new copy do "git clone https://github.com/apache/logging-log4j2.git" and then "git checkout tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1 https://github.com/apache/logging-log4j2.git"
>> b) for an existing working copy to “git pull” and then “git checkout tags/log4j-2.14.1-rc1”
>>
>> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>>
>> Maven Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1062
>>
>> 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-1062/org/apache/logging/log4j/
>>
>> Ralph
>>
>>
>>
>>
>
> -ck
>
[RESULT][VOTE] Release Log4j 2.14.1-rc1
Posted by Ralph Goers <ra...@dslextreme.com>.
This vote has passed with +1 votes from Gary Gregory, Matt Sicker, Volkan Yazici, Carter Kozak and Ralph Goers. There were no other votes.
I will continue with the release process.
Ralph
Re: [VOTE] Release Log4j 2.14.1-rc1
Posted by Carter Kozak <ck...@ckozak.net>.
+1
Verified the snapshots in a few internal projects, as well as code review and tests on the tag.
Test pass on ubuntu:
$ mvn clean && mvn install
/usr/lib/jvm/java-11-openjdk-amd64/bin/java -version
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)
mvn apache-rat:check passes
On Sun, Mar 7, 2021, at 01:46, Ralph Goers wrote:
> This is a vote to release Log4j 2.14.1, 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-2962: Enrich "map" resolver by unifying its backend with "mdc" resolver.
> • LOG4J2-2999: Replace JsonTemplateLayout resolver configurations table in docs with sections.
> • LOG4J2-2993: Support stack trace truncation in JsonTemplateLayout.
> Fixed Bugs
>
> • LOG4J2-3033: Add log method with no parameters - i.e. it has an empty message.
> • LOG4J2-2947: Document that LogBuilder default methods do nothing.
> • LOG4J2-2948: Replace HashSet with IdentityHashMap in ParameterFormatter to detect cycles.
> • LOG4J2-3028: OutputStreamManager.flushBuffer always resets the buffer, previously the buffer was not reset after an exception. Thanks to Jakub Kozlowski.
> • LOG4J2-2981: OnStartupTriggeringPolicy would fail to cause the file to roll over with DirectWriteTriggeringPolicy unless minSize was set to 0.
> • LOG4J2-2990: Reduce garbage by using putAll when copying the ThreadContext for SLF4J. Thanks to Diogo Monteiro.
> • LOG4J2-3006: Directly create a thread instead of using the common ForkJoin pool when initializing ThreadContextDataInjector"
> • LOG4J2-2624: Allow auto-shutdown of log4j in log4j-web to be turned off and provide a ServletContextListener "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the listener at the top of web.xml to ensure the shutdown happens last. Thanks to Tim Perry.
> • LOG4J2-1606: Allow auto-shutdown of log4j in log4j-web to be turned off and provide a ServletContextListener "Log4jShutdownOnContextDestroyedListener" to stop log4j. Register the listener at the top of web.xml to ensure the shutdown happens last. Thanks to Tim Perry.
> • LOG4J2-2998: Fix truncation of excessive strings ending with a high surrogate in JsonWriter.
> • LOG4J2-2973: Rename EventTemplateAdditionalField#type (conflicting with properties file parser) to "format". Thanks to Fabio Ricchiuti.
> • LOG4J2-2972: Refactor AsyncAppender and AppenderControl for handling of Throwables.
> • LOG4J2-2985: Add eventTemplateRootObjectKey parameter to JsonTemplateLayout.
> • LOG4J2-2974: Log4j would fail to initialize in Java 8 with log4j-spring-boot.
> • LOG4J2-2964: Merge packages from several Configurations in Composite Configuration. Thanks to Valery Yatsynovich.
> • LOG4J2-2961: Fix reading of JsonTemplateLayout event additional fields from config.
> • LOG4J2-2916: Avoid redundant Kafka producer instantiation causing thread leaks. Thanks to wuqian0808.
> • LOG4J2-2967: Fix JsonTemplateLayout index based parameter resolution when messages contain too few parameters.
> • LOG4J2-2976: JdbcAppender composes an incorrect INSERT statement without a ColumnMapping element.
> • LOG4J2-3014: Log4j1ConfigurationConverter on Windows produces " " at end of every line. Thanks to Lee Breisacher, Gary Gregory.
> Changes
>
> • LOG4J2-2893: Allow reconfiguration when Log4j 1 configuration files are updated.
> • : Update Spring dependencies to 5.3.2, Spring Boot to 2.3.6, and Spring Cloud to Hoxton.SR9
> • : Update org.fusesource.jansi:jansi 1.17.1 -> 2.0.1.
> • : Update commons-codec:commons-codec 1.14 -> 1.15.
> • : Update org.apache.commons:commons-lang3 3.10 -> 3.11.
> • : Update org.apache.commons:commons-pool2 2.8.1 -> 2.9.0.
> • : Update org.apache.commons:commons-dbcp2 2.4.0 -> 2.8.0.
> • : Update commons-io:commons-io 2.7 -> 2.8.0.
> • : Update org.codehaus.groovy:* 3.0.5 -> 3.0.6.
> • : Update com.fasterxml.jackson.: 2.11.2 - 2.11.3.
> • : Update org.springframework:* 5.2.8.RELEASE -> 5.3.1.
> • : Update junit:junit 4.13 -> 4.13.1.
> • : Update org.xmlunit:* 2.7.0 -> 2.8.0.
> • : Update org.assertj:assertj-core 3.14.0 -> 3.18.1.
> • : Update org.awaitility:awaitility 4.0.2 -> 4.0.3.
> • : Update org.codehaus.plexus:plexus-utils 3.2.0 -> 3.3.0.
> • : Update MongoDB 3 plugin: org.mongodb:mongodb-driver 3.12.6 -> 3.12.7.
> • : Update MongoDB 4 plugin: org.mongodb:* 4.1.0 -> 4.1.1.
> • : Update org.eclipse.tycho:org.eclipse.osgi 3.12.1.v20170821-1548 -> 3.13.0.v20180226-1711.
> • : Update de.flapdoodle.embed:de.flapdoodle.embed.mongo 2.2.0 -> 3.0.0.
> • : Update net.javacrumbs.json-unit:json-unit 1.31.1 -> 2.22.0.
> • : Update Mockito 3.6.0 -> 3.7.0.
> • : Update XML Unit 2.8.0 -> 2.8.2.
> • : Update JSON Unit 2.21.0 -> 2.22.0.
> • : Update JaCoCo 0.8.3 -> 0.8.6.
> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> • : Update org.fusesource.jansi:jansi 1.18 -> 2.2.0.
> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> • : Update Woodstox 5.0.3 -> 6.2.3 to match Jackson 2.12.1.
> • : Update org.apache.activemq:* 5.16.0 -> 5.16.1.
> • : Update org.mockito:mockito-* 3.7.0 -> 3.7.7.
> • : Update org.springframework:* 5.3.2 -> 5.3.3.
> • : Update mongodb4.version 4.1.1 -> 4.2.0.
> • : Update org.fusesource.jansi:jansi 1.18 -> 2.3.1.
> • : Update org.assertj:assertj-core 3.18.1 -> 3.19.0.
> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> • : Update net.javacrumbs.json-unit:json-unit 2.22.0 -> 2.23.0.
> • com.fasterxml.jackson.core:jackson-annotations ................. 2.12.1 -> 2.12.2
> - com.fasterxml.jackson.core:jackson-core ........................ 2.12.1 -> 2.12.2
> - com.fasterxml.jackson.core:jackson-databind .................... 2.12.1 -> 2.12.2
> - com.fasterxml.jackson.dataformat:jackson-dataformat-xml ........ 2.12.1 -> 2.12.2
> - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml ....... 2.12.1 -> 2.12.2
> - com.fasterxml.jackson.module:jackson-module-jaxb-annotations ... 2.12.1 -> 2.12.2
> - org.apache.commons:commons-lang3 ............................... 3.11 -> 3.12.0
> - org.junit.jupiter:junit-jupiter-engine ......................... 5.7.0 -> 5.7.1
> - org.junit.jupiter:junit-jupiter-migrationsupport ............... 5.7.0 -> 5.7.1
> - org.junit.jupiter:junit-jupiter-params ......................... 5.7.0 -> 5.7.1
> - org.junit.vintage:junit-vintage-engine ......................... 5.7.0 -> 5.7.1
> - org.mockito:mockito-core ....................................... 3.7.7 -> 3.8.0
> - org.mockito:mockito-junit-jupiter .............................. 3.7.7 -> 3.8.0
> - org.mongodb:bson ............................................... 4.2.0 -> 4.2.2
> - org.mongodb:mongodb-driver-sync ................................ 4.2.0 -> 4.2.2
>
> Tag:
> a) for a new copy do "git clone https://github.com/apache/logging-log4j2.git" and then "git checkout tags/log4j-2.14.1-rc1” or just "git clone -b log4j-2.14.1-rc1 https://github.com/apache/logging-log4j2.git"
> b) for an existing working copy to “git pull” and then “git checkout tags/log4j-2.14.1-rc1”
>
> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>
> Maven Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1062
>
> 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-1062/org/apache/logging/log4j/
>
> Ralph
>
>
>
>
-ck