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 2022/02/23 23:58:48 UTC
[VOTE] Release Apache Log4j 2.17.2-rc1
This is a vote to release Log4j 2.17.2, 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. 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 version include:
New Features
• LOG4J2-3297: Limit loading of configuration via a url to https by default.
• LOG4J2-2486: Require log4j2.Script.enableLanguages to be specified to enable scripting for specific languages.
• LOG4J2-3303: Add TB support to FileSize. Thanks to ramananravi.
• LOG4J2-3282: Add the log4j-to-jul JDK Logging Bridge Thanks to Michael Vorburger.
• : Add org.apache.logging.log4j.core.appender.AsyncAppender.getAppenders() to more easily port from org.apache.log4j.AsyncAppender.getAllAppenders().
• : Add Configurator.setLevel(Logger, Level), setLevel(String, String), and setLevel(Class, Level). Thanks to Gary Gregory.
• LOG4J2-3341: Add shorthand syntax for properties configuration format for specifying a logger level and appender refs.
• LOG4J2-3391: Add optional additional fields to NoSQLAppender. Thanks to Gary Gregory.
Fixed Bugs
• LOG4J2-3304: Flag LogManager as initiialized if the LoggerFactory is provided as a property. Thanks to francis-FY.
• LOG4J2-3404: Fix DefaultConfiguration leak in PatternLayout Thanks to Piotr Karwasz.
• LOG4J2-3405: Document that the Spring Boot Lookup requires the log4j-spring-boot dependency.
• LOG4J2-3317: Fix RoutingAppender backcompat and disallow recursive evaluation of lookup results outside of configuration properties.
• LOG4J2-3333: Fix ThreadContextDataInjector initialization deadlock
• LOG4J2-3358: Fix substitutions when programmatic configuration is used
• LOG4J2-3306: OptionConverter could cause a StackOverflowError.
• : Log4j 1.2 bridge class ConsoleAppender should extend WriterAppender and provide better compatibility with custom appenders.
• : Log4j 1.2 bridge method NDC.inherit(Stack) should not use generics to provide source compatibility.
• : Log4j 1.2 bridge class PatternLayout is missing constants DEFAULT_CONVERSION_PATTERN and TTCC_CONVERSION_PATTERN.
• : Log4j 1.2 bridge class PropertyConfigurator should implement Configurator.
• : Log4j 1.2 bridge interface Configurator doConfigure() methods should use LoggerRepository, not LoggerContext.
• : Log4j 1.2 bridge class OptionConverter is missing selectAndConfigure() methods.
• : Log4j 1.2 bridge class Category should implement AppenderAttachable.
• : Log4j 1.2 bridge method Category.exists(String) should be static.
• : Log4j 1.2 bridge methods missing in org.apache.log4j.Category: getDefaultHierarchy(), getHierarchy(), getLoggerRepository().
• : Log4j 1.2 bridge class LogManager default constructor should be public.
• : Log4j 1.2 bridge interface org.apache.log4j.spi.RendererSupport was in the wrong package and incomplete.
• : Log4j 1.2 bridge interfaces missing from package org.apache.log4j.spi: ThrowableRenderer, ThrowableRendererSupport, TriggeringEventEvaluator.
• : Log4j 1.2 bridge missing class org.apache.log4j.or.RendererMap.
• LOG4J2-3281: Log4j 1.2 bridge PropertiesConfiguration.buildAppender not adding filters to custom appender.
• LOG4J2-3316: Log4j 1.2 bridge should ignore case in properties file keys.
• : Log4j 1.2 bridge adds org.apache.log4j.component.helpers.Constants.
• : Log4j 1.2 bridge adds org.apache.log4j.helpers.LogLog.
• : Log4j 1.2 bridge adds org.apache.log4j.helpers.Loader.
• : Log4j 1.2 bridge adds org.apache.log4j.spi.RootLogger.
• : Log4j 1.2 bridge class Category is missing some protected instance variables.
• : Log4j 1.2 bridge adds org.apache.log4j.Hierarchy.
• : Log4j 1.2 bridge methods Category.getChainedPriority() and getEffectiveLevel() should not be final.
• : Log4j 1.2 bridge adds org.apache.log4j.spi.NOPLoggerRepository and NOPLogger.
• : Log4j 1.2 bridge adds org.apache.log4j.spi.DefaultRepositorySelector.
• : Log4j 1.2 bridge implements LogManager.getCurrentLoggers() fully.
• LOG4J2-3326: Log4j 1.2 bridge fixes parsing filters in properties configuration file #680. Thanks to Benjamin Röhl, Gary Gregory.
• LOG4J2-3326: Log4j 1.2 bridge missing OptionConverter.instantiateByKey(Properties, String, Class, Object). Thanks to Gary Gregory.
• LOG4J2-3326: Log4j 1.2 bridge class org.apache.log4j.spi.LoggingEvent missing constructors and public instance variable. Thanks to Gary Gregory.
• LOG4J2-3328: Log4j 1.2 bridge does not support system properties in log4j.xml. Thanks to Gary Gregory.
• : Log4j 1.2 bridge now logs a warning instead of throwing an NullPointerException when building a Syslog appender with a missing "SyslogHost" param. Thanks to Gary Gregory.
• : Log4j 1.2 bridge should allow property and XML attributes to start with either an upper-case or lower-case letter. Thanks to Gary Gregory, Piotr P. Karwasz.
• : Log4j 1.2 bridge uses the wrong default values for a TTCCLayout #709. Thanks to Gary Gregory, Piotr P. Karwasz.
• : Log4j 1.2 bridge throws ClassCastException when using SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
• : Log4j 1.2 bridge uses the wrong file pattern for rolling file appenders #710. Thanks to Gary Gregory, Piotr P. Karwasz.
• : Log4j 1.2 bridge throws ClassCastException when using SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
• : Log4j 1.2 bridge creates a SocketAppender instead of a SyslogAppender. Thanks to Gary Gregory.
• : Log4j 1.2 bridge uses some incorrect default property values in some appenders. Thanks to Piotr P. Karwasz.
• : Log4j 1.2 bridge supports the SocketAppender. Thanks to Gary Gregory.
• : Log4j 1.2 bridge missing DefaultThrowableRenderer. Thanks to Gary Gregory.
• : Log4j 1.2 bridge missing some ThrowableInformation constructors. Thanks to Gary Gregory.
• : Log4j 1.2 bridge missing some LocationInfo constructors. Thanks to Gary Gregory.
• : Log4j 1.2 bridge missed Thanks to Gary Gregory.
• : Log4j 1.2 bridge missed org.apache.log4j.pattern.FormattingInfo. Thanks to Gary Gregory.
• : Log4j 1.2 bridge missed org.apache.log4j.pattern.NameAbbreviator. Thanks to Gary Gregory.
• : Log4j 1.2 bridge missing UtilLoggingLevel. Thanks to Gary Gregory.
• : Log4j 1.2 bridge missing FormattingInfo. Thanks to Gary Gregory.
• : Log4j 1.2 bridge missing PatternConverter. Thanks to Gary Gregory.
• : Log4j 1.2 bridge missing PatternParser. Thanks to Gary Gregory.
• : Log4j 1.2 bridge issues with filters #753. Thanks to ppkarwasz, Gary Gregory.
• : Log4j 1.2 bridge implements most of DOMConfigurator. Thanks to Gary Gregory.
• : JndiManager reverts to 2.17.0 behavior: Read the system property for each call.
• LOG4J2-3330: Configurator.setLevel not fetching the correct LoggerContext. Thanks to Mircea Lemnaru, Gary Gregory.
• : Fix DTD error: Add missing ELEMENT for Marker.
• : Fix log4j-jakarta-web service file #723. Thanks to Gary Gregory, Piotr P. Karwasz.
• LOG4J2-3392: AppenderLoggingException logging any exception to a MongoDB Appender. Thanks to Gary Gregory, Omer U.
• LOG4J2-3392: Possible NullPointerException in MongoDb4DocumentObject, MongoDbDocumentObject, DefaultNoSqlObject. Thanks to Gary Gregory.
• : Trim whitespace before parsing a String into an Integer. Thanks to Gary Gregory.
• LOG4J2-3410: Log4j 1.2 bridge throws a ClassCastException when logging a Map with non-String keys. Thanks to Barry Sham, Gary Gregory.
• LOG4J2-3407: Log4j 1.2 bridge Check for non-existent appender when parsing properties #761. Thanks to Kenny MacLeod.
• LOG4J2-3407: Log4j 1.2 bridge supports global threshold #764. Thanks to Piotr P. Karwasz.
Changes
• LOG4J2-3267: Change modifier of method org.apache.logging.log4j.core.tools.Generate#generate to public (was package private) to facilitate automated code generation.
Tag:
a) for a new copy do "git clone https://github.com/apache/logging-log4j2.git and then "git checkout tags/log4j-2.17.2-rc1” or just "git clone -b log4j-2.17.2-rc1 https://github.com/apache/logging-log4j2.git"
b) for an existing working copy to “git pull” and then “git checkout tags/log4j-2.17.2-rc1”
Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
Maven Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1084/
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-1084/org/apache/logging/log4j/
Ralph
Re: [VOTE] Release Apache Log4j 2.17.2-rc1
Posted by Ralph Goers <ra...@dslextreme.com>.
My +1
Ralph
> On Feb 23, 2022, at 4:58 PM, Ralph Goers <ra...@dslextreme.com> wrote:
>
> This is a vote to release Log4j 2.17.2, 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. 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 version include:
>
> New Features
>
> • LOG4J2-3297: Limit loading of configuration via a url to https by default.
> • LOG4J2-2486: Require log4j2.Script.enableLanguages to be specified to enable scripting for specific languages.
> • LOG4J2-3303: Add TB support to FileSize. Thanks to ramananravi.
> • LOG4J2-3282: Add the log4j-to-jul JDK Logging Bridge Thanks to Michael Vorburger.
> • : Add org.apache.logging.log4j.core.appender.AsyncAppender.getAppenders() to more easily port from org.apache.log4j.AsyncAppender.getAllAppenders().
> • : Add Configurator.setLevel(Logger, Level), setLevel(String, String), and setLevel(Class, Level). Thanks to Gary Gregory.
> • LOG4J2-3341: Add shorthand syntax for properties configuration format for specifying a logger level and appender refs.
> • LOG4J2-3391: Add optional additional fields to NoSQLAppender. Thanks to Gary Gregory.
> Fixed Bugs
>
> • LOG4J2-3304: Flag LogManager as initiialized if the LoggerFactory is provided as a property. Thanks to francis-FY.
> • LOG4J2-3404: Fix DefaultConfiguration leak in PatternLayout Thanks to Piotr Karwasz.
> • LOG4J2-3405: Document that the Spring Boot Lookup requires the log4j-spring-boot dependency.
> • LOG4J2-3317: Fix RoutingAppender backcompat and disallow recursive evaluation of lookup results outside of configuration properties.
> • LOG4J2-3333: Fix ThreadContextDataInjector initialization deadlock
> • LOG4J2-3358: Fix substitutions when programmatic configuration is used
> • LOG4J2-3306: OptionConverter could cause a StackOverflowError.
> • : Log4j 1.2 bridge class ConsoleAppender should extend WriterAppender and provide better compatibility with custom appenders.
> • : Log4j 1.2 bridge method NDC.inherit(Stack) should not use generics to provide source compatibility.
> • : Log4j 1.2 bridge class PatternLayout is missing constants DEFAULT_CONVERSION_PATTERN and TTCC_CONVERSION_PATTERN.
> • : Log4j 1.2 bridge class PropertyConfigurator should implement Configurator.
> • : Log4j 1.2 bridge interface Configurator doConfigure() methods should use LoggerRepository, not LoggerContext.
> • : Log4j 1.2 bridge class OptionConverter is missing selectAndConfigure() methods.
> • : Log4j 1.2 bridge class Category should implement AppenderAttachable.
> • : Log4j 1.2 bridge method Category.exists(String) should be static.
> • : Log4j 1.2 bridge methods missing in org.apache.log4j.Category: getDefaultHierarchy(), getHierarchy(), getLoggerRepository().
> • : Log4j 1.2 bridge class LogManager default constructor should be public.
> • : Log4j 1.2 bridge interface org.apache.log4j.spi.RendererSupport was in the wrong package and incomplete.
> • : Log4j 1.2 bridge interfaces missing from package org.apache.log4j.spi: ThrowableRenderer, ThrowableRendererSupport, TriggeringEventEvaluator.
> • : Log4j 1.2 bridge missing class org.apache.log4j.or.RendererMap.
> • LOG4J2-3281: Log4j 1.2 bridge PropertiesConfiguration.buildAppender not adding filters to custom appender.
> • LOG4J2-3316: Log4j 1.2 bridge should ignore case in properties file keys.
> • : Log4j 1.2 bridge adds org.apache.log4j.component.helpers.Constants.
> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.LogLog.
> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.Loader.
> • : Log4j 1.2 bridge adds org.apache.log4j.spi.RootLogger.
> • : Log4j 1.2 bridge class Category is missing some protected instance variables.
> • : Log4j 1.2 bridge adds org.apache.log4j.Hierarchy.
> • : Log4j 1.2 bridge methods Category.getChainedPriority() and getEffectiveLevel() should not be final.
> • : Log4j 1.2 bridge adds org.apache.log4j.spi.NOPLoggerRepository and NOPLogger.
> • : Log4j 1.2 bridge adds org.apache.log4j.spi.DefaultRepositorySelector.
> • : Log4j 1.2 bridge implements LogManager.getCurrentLoggers() fully.
> • LOG4J2-3326: Log4j 1.2 bridge fixes parsing filters in properties configuration file #680. Thanks to Benjamin Röhl, Gary Gregory.
> • LOG4J2-3326: Log4j 1.2 bridge missing OptionConverter.instantiateByKey(Properties, String, Class, Object). Thanks to Gary Gregory.
> • LOG4J2-3326: Log4j 1.2 bridge class org.apache.log4j.spi.LoggingEvent missing constructors and public instance variable. Thanks to Gary Gregory.
> • LOG4J2-3328: Log4j 1.2 bridge does not support system properties in log4j.xml. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge now logs a warning instead of throwing an NullPointerException when building a Syslog appender with a missing "SyslogHost" param. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge should allow property and XML attributes to start with either an upper-case or lower-case letter. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge uses the wrong default values for a TTCCLayout #709. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge throws ClassCastException when using SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge uses the wrong file pattern for rolling file appenders #710. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge throws ClassCastException when using SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge creates a SocketAppender instead of a SyslogAppender. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge uses some incorrect default property values in some appenders. Thanks to Piotr P. Karwasz.
> • : Log4j 1.2 bridge supports the SocketAppender. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing DefaultThrowableRenderer. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing some ThrowableInformation constructors. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing some LocationInfo constructors. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed org.apache.log4j.pattern.FormattingInfo. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed org.apache.log4j.pattern.NameAbbreviator. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing UtilLoggingLevel. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing FormattingInfo. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing PatternConverter. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing PatternParser. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge issues with filters #753. Thanks to ppkarwasz, Gary Gregory.
> • : Log4j 1.2 bridge implements most of DOMConfigurator. Thanks to Gary Gregory.
> • : JndiManager reverts to 2.17.0 behavior: Read the system property for each call.
> • LOG4J2-3330: Configurator.setLevel not fetching the correct LoggerContext. Thanks to Mircea Lemnaru, Gary Gregory.
> • : Fix DTD error: Add missing ELEMENT for Marker.
> • : Fix log4j-jakarta-web service file #723. Thanks to Gary Gregory, Piotr P. Karwasz.
> • LOG4J2-3392: AppenderLoggingException logging any exception to a MongoDB Appender. Thanks to Gary Gregory, Omer U.
> • LOG4J2-3392: Possible NullPointerException in MongoDb4DocumentObject, MongoDbDocumentObject, DefaultNoSqlObject. Thanks to Gary Gregory.
> • : Trim whitespace before parsing a String into an Integer. Thanks to Gary Gregory.
> • LOG4J2-3410: Log4j 1.2 bridge throws a ClassCastException when logging a Map with non-String keys. Thanks to Barry Sham, Gary Gregory.
> • LOG4J2-3407: Log4j 1.2 bridge Check for non-existent appender when parsing properties #761. Thanks to Kenny MacLeod.
> • LOG4J2-3407: Log4j 1.2 bridge supports global threshold #764. Thanks to Piotr P. Karwasz.
> Changes
>
> • LOG4J2-3267: Change modifier of method org.apache.logging.log4j.core.tools.Generate#generate to public (was package private) to facilitate automated code generation.
>
> Tag:
> a) for a new copy do "git clone https://github.com/apache/logging-log4j2.git and then "git checkout tags/log4j-2.17.2-rc1” or just "git clone -b log4j-2.17.2-rc1 https://github.com/apache/logging-log4j2.git"
> b) for an existing working copy to “git pull” and then “git checkout tags/log4j-2.17.2-rc1”
>
> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>
> Maven Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1084/
>
> 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-1084/org/apache/logging/log4j/
>
> Ralph
>
>
>
Re: [VOTE] Release Apache Log4j 2.17.2-rc1
Posted by Ralph Goers <ra...@dslextreme.com>.
Note that it may be necessary to use -Drevapi.skip=true to build. The plugin seems to fail in different places on different machines or even on the same machine running different maven goals.
Ralph
> On Feb 23, 2022, at 4:58 PM, Ralph Goers <ra...@dslextreme.com> wrote:
>
> This is a vote to release Log4j 2.17.2, 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. 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 version include:
>
> New Features
>
> • LOG4J2-3297: Limit loading of configuration via a url to https by default.
> • LOG4J2-2486: Require log4j2.Script.enableLanguages to be specified to enable scripting for specific languages.
> • LOG4J2-3303: Add TB support to FileSize. Thanks to ramananravi.
> • LOG4J2-3282: Add the log4j-to-jul JDK Logging Bridge Thanks to Michael Vorburger.
> • : Add org.apache.logging.log4j.core.appender.AsyncAppender.getAppenders() to more easily port from org.apache.log4j.AsyncAppender.getAllAppenders().
> • : Add Configurator.setLevel(Logger, Level), setLevel(String, String), and setLevel(Class, Level). Thanks to Gary Gregory.
> • LOG4J2-3341: Add shorthand syntax for properties configuration format for specifying a logger level and appender refs.
> • LOG4J2-3391: Add optional additional fields to NoSQLAppender. Thanks to Gary Gregory.
> Fixed Bugs
>
> • LOG4J2-3304: Flag LogManager as initiialized if the LoggerFactory is provided as a property. Thanks to francis-FY.
> • LOG4J2-3404: Fix DefaultConfiguration leak in PatternLayout Thanks to Piotr Karwasz.
> • LOG4J2-3405: Document that the Spring Boot Lookup requires the log4j-spring-boot dependency.
> • LOG4J2-3317: Fix RoutingAppender backcompat and disallow recursive evaluation of lookup results outside of configuration properties.
> • LOG4J2-3333: Fix ThreadContextDataInjector initialization deadlock
> • LOG4J2-3358: Fix substitutions when programmatic configuration is used
> • LOG4J2-3306: OptionConverter could cause a StackOverflowError.
> • : Log4j 1.2 bridge class ConsoleAppender should extend WriterAppender and provide better compatibility with custom appenders.
> • : Log4j 1.2 bridge method NDC.inherit(Stack) should not use generics to provide source compatibility.
> • : Log4j 1.2 bridge class PatternLayout is missing constants DEFAULT_CONVERSION_PATTERN and TTCC_CONVERSION_PATTERN.
> • : Log4j 1.2 bridge class PropertyConfigurator should implement Configurator.
> • : Log4j 1.2 bridge interface Configurator doConfigure() methods should use LoggerRepository, not LoggerContext.
> • : Log4j 1.2 bridge class OptionConverter is missing selectAndConfigure() methods.
> • : Log4j 1.2 bridge class Category should implement AppenderAttachable.
> • : Log4j 1.2 bridge method Category.exists(String) should be static.
> • : Log4j 1.2 bridge methods missing in org.apache.log4j.Category: getDefaultHierarchy(), getHierarchy(), getLoggerRepository().
> • : Log4j 1.2 bridge class LogManager default constructor should be public.
> • : Log4j 1.2 bridge interface org.apache.log4j.spi.RendererSupport was in the wrong package and incomplete.
> • : Log4j 1.2 bridge interfaces missing from package org.apache.log4j.spi: ThrowableRenderer, ThrowableRendererSupport, TriggeringEventEvaluator.
> • : Log4j 1.2 bridge missing class org.apache.log4j.or.RendererMap.
> • LOG4J2-3281: Log4j 1.2 bridge PropertiesConfiguration.buildAppender not adding filters to custom appender.
> • LOG4J2-3316: Log4j 1.2 bridge should ignore case in properties file keys.
> • : Log4j 1.2 bridge adds org.apache.log4j.component.helpers.Constants.
> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.LogLog.
> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.Loader.
> • : Log4j 1.2 bridge adds org.apache.log4j.spi.RootLogger.
> • : Log4j 1.2 bridge class Category is missing some protected instance variables.
> • : Log4j 1.2 bridge adds org.apache.log4j.Hierarchy.
> • : Log4j 1.2 bridge methods Category.getChainedPriority() and getEffectiveLevel() should not be final.
> • : Log4j 1.2 bridge adds org.apache.log4j.spi.NOPLoggerRepository and NOPLogger.
> • : Log4j 1.2 bridge adds org.apache.log4j.spi.DefaultRepositorySelector.
> • : Log4j 1.2 bridge implements LogManager.getCurrentLoggers() fully.
> • LOG4J2-3326: Log4j 1.2 bridge fixes parsing filters in properties configuration file #680. Thanks to Benjamin Röhl, Gary Gregory.
> • LOG4J2-3326: Log4j 1.2 bridge missing OptionConverter.instantiateByKey(Properties, String, Class, Object). Thanks to Gary Gregory.
> • LOG4J2-3326: Log4j 1.2 bridge class org.apache.log4j.spi.LoggingEvent missing constructors and public instance variable. Thanks to Gary Gregory.
> • LOG4J2-3328: Log4j 1.2 bridge does not support system properties in log4j.xml. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge now logs a warning instead of throwing an NullPointerException when building a Syslog appender with a missing "SyslogHost" param. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge should allow property and XML attributes to start with either an upper-case or lower-case letter. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge uses the wrong default values for a TTCCLayout #709. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge throws ClassCastException when using SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge uses the wrong file pattern for rolling file appenders #710. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge throws ClassCastException when using SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge creates a SocketAppender instead of a SyslogAppender. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge uses some incorrect default property values in some appenders. Thanks to Piotr P. Karwasz.
> • : Log4j 1.2 bridge supports the SocketAppender. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing DefaultThrowableRenderer. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing some ThrowableInformation constructors. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing some LocationInfo constructors. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed org.apache.log4j.pattern.FormattingInfo. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed org.apache.log4j.pattern.NameAbbreviator. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing UtilLoggingLevel. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing FormattingInfo. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing PatternConverter. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing PatternParser. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge issues with filters #753. Thanks to ppkarwasz, Gary Gregory.
> • : Log4j 1.2 bridge implements most of DOMConfigurator. Thanks to Gary Gregory.
> • : JndiManager reverts to 2.17.0 behavior: Read the system property for each call.
> • LOG4J2-3330: Configurator.setLevel not fetching the correct LoggerContext. Thanks to Mircea Lemnaru, Gary Gregory.
> • : Fix DTD error: Add missing ELEMENT for Marker.
> • : Fix log4j-jakarta-web service file #723. Thanks to Gary Gregory, Piotr P. Karwasz.
> • LOG4J2-3392: AppenderLoggingException logging any exception to a MongoDB Appender. Thanks to Gary Gregory, Omer U.
> • LOG4J2-3392: Possible NullPointerException in MongoDb4DocumentObject, MongoDbDocumentObject, DefaultNoSqlObject. Thanks to Gary Gregory.
> • : Trim whitespace before parsing a String into an Integer. Thanks to Gary Gregory.
> • LOG4J2-3410: Log4j 1.2 bridge throws a ClassCastException when logging a Map with non-String keys. Thanks to Barry Sham, Gary Gregory.
> • LOG4J2-3407: Log4j 1.2 bridge Check for non-existent appender when parsing properties #761. Thanks to Kenny MacLeod.
> • LOG4J2-3407: Log4j 1.2 bridge supports global threshold #764. Thanks to Piotr P. Karwasz.
> Changes
>
> • LOG4J2-3267: Change modifier of method org.apache.logging.log4j.core.tools.Generate#generate to public (was package private) to facilitate automated code generation.
>
> Tag:
> a) for a new copy do "git clone https://github.com/apache/logging-log4j2.git and then "git checkout tags/log4j-2.17.2-rc1” or just "git clone -b log4j-2.17.2-rc1 https://github.com/apache/logging-log4j2.git"
> b) for an existing working copy to “git pull” and then “git checkout tags/log4j-2.17.2-rc1”
>
> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>
> Maven Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1084/
>
> 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-1084/org/apache/logging/log4j/
>
> Ralph
>
>
>
Re: [VOTE] Release Apache Log4j 2.17.2-rc1
Posted by Gary Gregory <ga...@gmail.com>.
+1
Based on the src zip:
- SHA-512 OK
- ASC OK
- RAT check OK
- mvn clean install only works by skipping the Cassandra module on macOS
- Above mvn build OK on Windows 10
Tested on macOS with a toolchain:
Darwin ***.local 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58
PST 2022; root:xnu-8019.80.24~20/RELEASE_X86_64 x86_64
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /usr/local/Cellar/maven/3.8.4/libexec
Java version: 1.8.0_312, vendor: Homebrew, runtime:
/usr/local/Cellar/openjdk@8/1.8.0+312/libexec/openjdk.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "12.2.1", arch: "x86_64", family: "mac"
openjdk version "11.0.12" 2021-07-20
OpenJDK Runtime Environment Homebrew (build 11.0.12+0)
OpenJDK 64-Bit Server VM Homebrew (build 11.0.12+0, mixed mode)
Tested on Windows with a toolchain:
Microsoft Windows [Version 10.0.19042.1466]
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: C:\Java\apache-maven-3.8.4
Java version: 1.8.0_261, vendor: Oracle Corporation, runtime: C:\Program
Files\Java\jdk1.8.0_261\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
openjdk version "11.0.14" 2022-01-18
OpenJDK Runtime Environment Temurin-11.0.14+9 (build 11.0.14+9)
OpenJDK 64-Bit Server VM Temurin-11.0.14+9 (build 11.0.14+9, mixed mode)
Gary
On Wed, Feb 23, 2022 at 6:58 PM Ralph Goers <ra...@dslextreme.com>
wrote:
> This is a vote to release Log4j 2.17.2, 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. 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 version include:
>
> New Features
>
> • LOG4J2-3297: Limit loading of configuration via a url to https
> by default.
> • LOG4J2-2486: Require log4j2.Script.enableLanguages to be
> specified to enable scripting for specific languages.
> • LOG4J2-3303: Add TB support to FileSize. Thanks to ramananravi.
> • LOG4J2-3282: Add the log4j-to-jul JDK Logging Bridge Thanks to
> Michael Vorburger.
> • : Add
> org.apache.logging.log4j.core.appender.AsyncAppender.getAppenders() to more
> easily port from org.apache.log4j.AsyncAppender.getAllAppenders().
> • : Add Configurator.setLevel(Logger, Level), setLevel(String,
> String), and setLevel(Class, Level). Thanks to Gary Gregory.
> • LOG4J2-3341: Add shorthand syntax for properties configuration
> format for specifying a logger level and appender refs.
> • LOG4J2-3391: Add optional additional fields to NoSQLAppender.
> Thanks to Gary Gregory.
> Fixed Bugs
>
> • LOG4J2-3304: Flag LogManager as initiialized if the
> LoggerFactory is provided as a property. Thanks to francis-FY.
> • LOG4J2-3404: Fix DefaultConfiguration leak in PatternLayout
> Thanks to Piotr Karwasz.
> • LOG4J2-3405: Document that the Spring Boot Lookup requires the
> log4j-spring-boot dependency.
> • LOG4J2-3317: Fix RoutingAppender backcompat and disallow
> recursive evaluation of lookup results outside of configuration properties.
> • LOG4J2-3333: Fix ThreadContextDataInjector initialization
> deadlock
> • LOG4J2-3358: Fix substitutions when programmatic configuration
> is used
> • LOG4J2-3306: OptionConverter could cause a StackOverflowError.
> • : Log4j 1.2 bridge class ConsoleAppender should extend
> WriterAppender and provide better compatibility with custom appenders.
> • : Log4j 1.2 bridge method NDC.inherit(Stack) should not use
> generics to provide source compatibility.
> • : Log4j 1.2 bridge class PatternLayout is missing constants
> DEFAULT_CONVERSION_PATTERN and TTCC_CONVERSION_PATTERN.
> • : Log4j 1.2 bridge class PropertyConfigurator should implement
> Configurator.
> • : Log4j 1.2 bridge interface Configurator doConfigure() methods
> should use LoggerRepository, not LoggerContext.
> • : Log4j 1.2 bridge class OptionConverter is missing
> selectAndConfigure() methods.
> • : Log4j 1.2 bridge class Category should implement
> AppenderAttachable.
> • : Log4j 1.2 bridge method Category.exists(String) should be
> static.
> • : Log4j 1.2 bridge methods missing in org.apache.log4j.Category:
> getDefaultHierarchy(), getHierarchy(), getLoggerRepository().
> • : Log4j 1.2 bridge class LogManager default constructor should
> be public.
> • : Log4j 1.2 bridge interface
> org.apache.log4j.spi.RendererSupport was in the wrong package and
> incomplete.
> • : Log4j 1.2 bridge interfaces missing from package
> org.apache.log4j.spi: ThrowableRenderer, ThrowableRendererSupport,
> TriggeringEventEvaluator.
> • : Log4j 1.2 bridge missing class org.apache.log4j.or.RendererMap.
> • LOG4J2-3281: Log4j 1.2 bridge
> PropertiesConfiguration.buildAppender not adding filters to custom appender.
> • LOG4J2-3316: Log4j 1.2 bridge should ignore case in properties
> file keys.
> • : Log4j 1.2 bridge adds
> org.apache.log4j.component.helpers.Constants.
> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.LogLog.
> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.Loader.
> • : Log4j 1.2 bridge adds org.apache.log4j.spi.RootLogger.
> • : Log4j 1.2 bridge class Category is missing some protected
> instance variables.
> • : Log4j 1.2 bridge adds org.apache.log4j.Hierarchy.
> • : Log4j 1.2 bridge methods Category.getChainedPriority() and
> getEffectiveLevel() should not be final.
> • : Log4j 1.2 bridge adds org.apache.log4j.spi.NOPLoggerRepository
> and NOPLogger.
> • : Log4j 1.2 bridge adds
> org.apache.log4j.spi.DefaultRepositorySelector.
> • : Log4j 1.2 bridge implements LogManager.getCurrentLoggers()
> fully.
> • LOG4J2-3326: Log4j 1.2 bridge fixes parsing filters in
> properties configuration file #680. Thanks to Benjamin Röhl, Gary Gregory.
> • LOG4J2-3326: Log4j 1.2 bridge missing
> OptionConverter.instantiateByKey(Properties, String, Class, Object). Thanks
> to Gary Gregory.
> • LOG4J2-3326: Log4j 1.2 bridge class
> org.apache.log4j.spi.LoggingEvent missing constructors and public instance
> variable. Thanks to Gary Gregory.
> • LOG4J2-3328: Log4j 1.2 bridge does not support system properties
> in log4j.xml. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge now logs a warning instead of throwing an
> NullPointerException when building a Syslog appender with a missing
> "SyslogHost" param. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge should allow property and XML attributes to
> start with either an upper-case or lower-case letter. Thanks to Gary
> Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge uses the wrong default values for a
> TTCCLayout #709. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge throws ClassCastException when using
> SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge uses the wrong file pattern for rolling file
> appenders #710. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge throws ClassCastException when using
> SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge creates a SocketAppender instead of a
> SyslogAppender. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge uses some incorrect default property values
> in some appenders. Thanks to Piotr P. Karwasz.
> • : Log4j 1.2 bridge supports the SocketAppender. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing DefaultThrowableRenderer. Thanks to
> Gary Gregory.
> • : Log4j 1.2 bridge missing some ThrowableInformation
> constructors. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing some LocationInfo constructors.
> Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed
> org.apache.log4j.pattern.FormattingInfo. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed
> org.apache.log4j.pattern.NameAbbreviator. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing UtilLoggingLevel. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing FormattingInfo. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing PatternConverter. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing PatternParser. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge issues with filters #753. Thanks to
> ppkarwasz, Gary Gregory.
> • : Log4j 1.2 bridge implements most of DOMConfigurator. Thanks to
> Gary Gregory.
> • : JndiManager reverts to 2.17.0 behavior: Read the system
> property for each call.
> • LOG4J2-3330: Configurator.setLevel not fetching the correct
> LoggerContext. Thanks to Mircea Lemnaru, Gary Gregory.
> • : Fix DTD error: Add missing ELEMENT for Marker.
> • : Fix log4j-jakarta-web service file #723. Thanks to Gary
> Gregory, Piotr P. Karwasz.
> • LOG4J2-3392: AppenderLoggingException logging any exception to a
> MongoDB Appender. Thanks to Gary Gregory, Omer U.
> • LOG4J2-3392: Possible NullPointerException in
> MongoDb4DocumentObject, MongoDbDocumentObject, DefaultNoSqlObject. Thanks
> to Gary Gregory.
> • : Trim whitespace before parsing a String into an Integer.
> Thanks to Gary Gregory.
> • LOG4J2-3410: Log4j 1.2 bridge throws a ClassCastException when
> logging a Map with non-String keys. Thanks to Barry Sham, Gary Gregory.
> • LOG4J2-3407: Log4j 1.2 bridge Check for non-existent appender
> when parsing properties #761. Thanks to Kenny MacLeod.
> • LOG4J2-3407: Log4j 1.2 bridge supports global threshold #764.
> Thanks to Piotr P. Karwasz.
> Changes
>
> • LOG4J2-3267: Change modifier of method
> org.apache.logging.log4j.core.tools.Generate#generate to public (was
> package private) to facilitate automated code generation.
>
> Tag:
> a) for a new copy do "git clone
> https://github.com/apache/logging-log4j2.git and then "git checkout
> tags/log4j-2.17.2-rc1” or just "git clone -b log4j-2.17.2-rc1
> https://github.com/apache/logging-log4j2.git"
> b) for an existing working copy to “git pull” and then “git checkout
> tags/log4j-2.17.2-rc1”
>
> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>
> Maven Artifacts:
> https://repository.apache.org/content/repositories/orgapachelogging-1084/
>
> 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-1084/org/apache/logging/log4j/
>
> Ralph
>
>
>
>
Re: [VOTE] Release Apache Log4j 2.17.2-rc1
Posted by Matt Sicker <bo...@gmail.com>.
+1
Build good, sigs good, artifacts good.
Site notes:
* Markdown parsing errors on homepage with “##” instead of <h2> tags or whatever goes there.
* API Separation page has an outdated version reference
* Similar markdown parsing errors on the Log4j 1.x Migration page with “####” being left as-is.
—
Matt Sicker
> On Feb 23, 2022, at 17:58, Ralph Goers <ra...@dslextreme.com> wrote:
>
> wget -e robots=off --cut-dirs=7 -nH -r -p -np --no-check-certificate https://repository.apache.org/content/repositories/orgapachelogging-1084/org/apache/logging/log4j/ <https://repository.apache.org/content/repositories/orgapachelogging-1084/org/apache/logging/log4j/>
Re: [VOTE] Release Apache Log4j 2.17.2-rc1
Posted by Carter Kozak <ck...@ckozak.net>.
+1
Build is green.
Validated the artifacts across a variety projects I maintain, tests are all green.
A few builder 'with' methods failed in builds that lint against deprecation due to new overloads with 'set' methods.
Also tested spring-boot from commit 8a7e40ce918759a5936d19341077ff15410afe17 using our repositories + 2.17.2 jars from the release candidate:
[spring-boot]$ ./gradlew :spring-boot-project:spring-boot:check
BUILD SUCCESSFUL in 26s
$ mvn -v
Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 1.8.0_322, vendor: Azul Systems, Inc., runtime: /home/ckozak/.tools/jdk/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.13.0-27-generic", arch: "amd64", family: "unix"
-ck
Re: [VOTE] Release Apache Log4j 2.17.2-rc1
Posted by Ralph Goers <ra...@dslextreme.com>.
I will take a look. I had thought I verified they had 2 spaces.
Ralph
> On Feb 23, 2022, at 7:54 PM, Remko Popma <re...@gmail.com> wrote:
>
> I noted that the checksum files for the distribution archives are now
> _almost_ in the right format to allow checking with the `shasum` utility:
>
> cat ./apache-log4j-2.17.2-bin.tar.gz.sha256
> c8f7cfe4ac9825043432b310709dee2661398573de28c83e603e80e0e86df9bb
> apache-log4j-2.17.2-bin.tar.gz
>
> Unfortunately there is only one space between the checksum string and the
> file name string, and there need to be two spaces.
> (If I modify the sha256 file and add another space between these strings,
> then `shasum -a 256 -c ./apache-log4j-2.17.2-bin.tar.gz.sha256` succeeds.)
>
>
>
>> On Thu, Feb 24, 2022 at 11:48 AM Remko Popma <re...@gmail.com> wrote:
>>
>> +1
>>
>> Signatures good, checksums good.
>>
>> Build passes (ignoring rev-api problem for the mongodb3 module)
>>
>> Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117;
>> 2019-08-28T00:06:16+09:00)
>> Maven home: C:\apps\apache-maven-3.6.2\bin\..
>> Java version: 1.8.0_202, vendor: Oracle Corporation, runtime:
>> C:\apps\jdk1.8.0_202\jre
>> Default locale: en_GB, platform encoding: MS932
>> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>>
>>
>>
>>
>> On Thu, Feb 24, 2022 at 8:58 AM Ralph Goers <ra...@dslextreme.com>
>> wrote:
>>
>>> This is a vote to release Log4j 2.17.2, 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. 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 version include:
>>>
>>> New Features
>>>
>>> • LOG4J2-3297: Limit loading of configuration via a url to https
>>> by default.
>>> • LOG4J2-2486: Require log4j2.Script.enableLanguages to be
>>> specified to enable scripting for specific languages.
>>> • LOG4J2-3303: Add TB support to FileSize. Thanks to ramananravi.
>>> • LOG4J2-3282: Add the log4j-to-jul JDK Logging Bridge Thanks to
>>> Michael Vorburger.
>>> • : Add
>>> org.apache.logging.log4j.core.appender.AsyncAppender.getAppenders() to more
>>> easily port from org.apache.log4j.AsyncAppender.getAllAppenders().
>>> • : Add Configurator.setLevel(Logger, Level), setLevel(String,
>>> String), and setLevel(Class, Level). Thanks to Gary Gregory.
>>> • LOG4J2-3341: Add shorthand syntax for properties configuration
>>> format for specifying a logger level and appender refs.
>>> • LOG4J2-3391: Add optional additional fields to NoSQLAppender.
>>> Thanks to Gary Gregory.
>>> Fixed Bugs
>>>
>>> • LOG4J2-3304: Flag LogManager as initiialized if the
>>> LoggerFactory is provided as a property. Thanks to francis-FY.
>>> • LOG4J2-3404: Fix DefaultConfiguration leak in PatternLayout
>>> Thanks to Piotr Karwasz.
>>> • LOG4J2-3405: Document that the Spring Boot Lookup requires the
>>> log4j-spring-boot dependency.
>>> • LOG4J2-3317: Fix RoutingAppender backcompat and disallow
>>> recursive evaluation of lookup results outside of configuration properties.
>>> • LOG4J2-3333: Fix ThreadContextDataInjector initialization
>>> deadlock
>>> • LOG4J2-3358: Fix substitutions when programmatic configuration
>>> is used
>>> • LOG4J2-3306: OptionConverter could cause a StackOverflowError.
>>> • : Log4j 1.2 bridge class ConsoleAppender should extend
>>> WriterAppender and provide better compatibility with custom appenders.
>>> • : Log4j 1.2 bridge method NDC.inherit(Stack) should not use
>>> generics to provide source compatibility.
>>> • : Log4j 1.2 bridge class PatternLayout is missing constants
>>> DEFAULT_CONVERSION_PATTERN and TTCC_CONVERSION_PATTERN.
>>> • : Log4j 1.2 bridge class PropertyConfigurator should implement
>>> Configurator.
>>> • : Log4j 1.2 bridge interface Configurator doConfigure() methods
>>> should use LoggerRepository, not LoggerContext.
>>> • : Log4j 1.2 bridge class OptionConverter is missing
>>> selectAndConfigure() methods.
>>> • : Log4j 1.2 bridge class Category should implement
>>> AppenderAttachable.
>>> • : Log4j 1.2 bridge method Category.exists(String) should be
>>> static.
>>> • : Log4j 1.2 bridge methods missing in
>>> org.apache.log4j.Category: getDefaultHierarchy(), getHierarchy(),
>>> getLoggerRepository().
>>> • : Log4j 1.2 bridge class LogManager default constructor should
>>> be public.
>>> • : Log4j 1.2 bridge interface
>>> org.apache.log4j.spi.RendererSupport was in the wrong package and
>>> incomplete.
>>> • : Log4j 1.2 bridge interfaces missing from package
>>> org.apache.log4j.spi: ThrowableRenderer, ThrowableRendererSupport,
>>> TriggeringEventEvaluator.
>>> • : Log4j 1.2 bridge missing class
>>> org.apache.log4j.or.RendererMap.
>>> • LOG4J2-3281: Log4j 1.2 bridge
>>> PropertiesConfiguration.buildAppender not adding filters to custom appender.
>>> • LOG4J2-3316: Log4j 1.2 bridge should ignore case in properties
>>> file keys.
>>> • : Log4j 1.2 bridge adds
>>> org.apache.log4j.component.helpers.Constants.
>>> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.LogLog.
>>> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.Loader.
>>> • : Log4j 1.2 bridge adds org.apache.log4j.spi.RootLogger.
>>> • : Log4j 1.2 bridge class Category is missing some protected
>>> instance variables.
>>> • : Log4j 1.2 bridge adds org.apache.log4j.Hierarchy.
>>> • : Log4j 1.2 bridge methods Category.getChainedPriority() and
>>> getEffectiveLevel() should not be final.
>>> • : Log4j 1.2 bridge adds
>>> org.apache.log4j.spi.NOPLoggerRepository and NOPLogger.
>>> • : Log4j 1.2 bridge adds
>>> org.apache.log4j.spi.DefaultRepositorySelector.
>>> • : Log4j 1.2 bridge implements LogManager.getCurrentLoggers()
>>> fully.
>>> • LOG4J2-3326: Log4j 1.2 bridge fixes parsing filters in
>>> properties configuration file #680. Thanks to Benjamin Röhl, Gary Gregory.
>>> • LOG4J2-3326: Log4j 1.2 bridge missing
>>> OptionConverter.instantiateByKey(Properties, String, Class, Object). Thanks
>>> to Gary Gregory.
>>> • LOG4J2-3326: Log4j 1.2 bridge class
>>> org.apache.log4j.spi.LoggingEvent missing constructors and public instance
>>> variable. Thanks to Gary Gregory.
>>> • LOG4J2-3328: Log4j 1.2 bridge does not support system
>>> properties in log4j.xml. Thanks to Gary Gregory.
>>> • : Log4j 1.2 bridge now logs a warning instead of throwing an
>>> NullPointerException when building a Syslog appender with a missing
>>> "SyslogHost" param. Thanks to Gary Gregory.
>>> • : Log4j 1.2 bridge should allow property and XML attributes to
>>> start with either an upper-case or lower-case letter. Thanks to Gary
>>> Gregory, Piotr P. Karwasz.
>>> • : Log4j 1.2 bridge uses the wrong default values for a
>>> TTCCLayout #709. Thanks to Gary Gregory, Piotr P. Karwasz.
>>> • : Log4j 1.2 bridge throws ClassCastException when using
>>> SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
>>> • : Log4j 1.2 bridge uses the wrong file pattern for rolling file
>>> appenders #710. Thanks to Gary Gregory, Piotr P. Karwasz.
>>> • : Log4j 1.2 bridge throws ClassCastException when using
>>> SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
>>> • : Log4j 1.2 bridge creates a SocketAppender instead of a
>>> SyslogAppender. Thanks to Gary Gregory.
>>> • : Log4j 1.2 bridge uses some incorrect default property values
>>> in some appenders. Thanks to Piotr P. Karwasz.
>>> • : Log4j 1.2 bridge supports the SocketAppender. Thanks to Gary
>>> Gregory.
>>> • : Log4j 1.2 bridge missing DefaultThrowableRenderer. Thanks to
>>> Gary Gregory.
>>> • : Log4j 1.2 bridge missing some ThrowableInformation
>>> constructors. Thanks to Gary Gregory.
>>> • : Log4j 1.2 bridge missing some LocationInfo constructors.
>>> Thanks to Gary Gregory.
>>> • : Log4j 1.2 bridge missed Thanks to Gary Gregory.
>>> • : Log4j 1.2 bridge missed
>>> org.apache.log4j.pattern.FormattingInfo. Thanks to Gary Gregory.
>>> • : Log4j 1.2 bridge missed
>>> org.apache.log4j.pattern.NameAbbreviator. Thanks to Gary Gregory.
>>> • : Log4j 1.2 bridge missing UtilLoggingLevel. Thanks to Gary
>>> Gregory.
>>> • : Log4j 1.2 bridge missing FormattingInfo. Thanks to Gary
>>> Gregory.
>>> • : Log4j 1.2 bridge missing PatternConverter. Thanks to Gary
>>> Gregory.
>>> • : Log4j 1.2 bridge missing PatternParser. Thanks to Gary
>>> Gregory.
>>> • : Log4j 1.2 bridge issues with filters #753. Thanks to
>>> ppkarwasz, Gary Gregory.
>>> • : Log4j 1.2 bridge implements most of DOMConfigurator. Thanks
>>> to Gary Gregory.
>>> • : JndiManager reverts to 2.17.0 behavior: Read the system
>>> property for each call.
>>> • LOG4J2-3330: Configurator.setLevel not fetching the correct
>>> LoggerContext. Thanks to Mircea Lemnaru, Gary Gregory.
>>> • : Fix DTD error: Add missing ELEMENT for Marker.
>>> • : Fix log4j-jakarta-web service file #723. Thanks to Gary
>>> Gregory, Piotr P. Karwasz.
>>> • LOG4J2-3392: AppenderLoggingException logging any exception to
>>> a MongoDB Appender. Thanks to Gary Gregory, Omer U.
>>> • LOG4J2-3392: Possible NullPointerException in
>>> MongoDb4DocumentObject, MongoDbDocumentObject, DefaultNoSqlObject. Thanks
>>> to Gary Gregory.
>>> • : Trim whitespace before parsing a String into an Integer.
>>> Thanks to Gary Gregory.
>>> • LOG4J2-3410: Log4j 1.2 bridge throws a ClassCastException when
>>> logging a Map with non-String keys. Thanks to Barry Sham, Gary Gregory.
>>> • LOG4J2-3407: Log4j 1.2 bridge Check for non-existent appender
>>> when parsing properties #761. Thanks to Kenny MacLeod.
>>> • LOG4J2-3407: Log4j 1.2 bridge supports global threshold #764.
>>> Thanks to Piotr P. Karwasz.
>>> Changes
>>>
>>> • LOG4J2-3267: Change modifier of method
>>> org.apache.logging.log4j.core.tools.Generate#generate to public (was
>>> package private) to facilitate automated code generation.
>>>
>>> Tag:
>>> a) for a new copy do "git clone
>>> https://github.com/apache/logging-log4j2.git and then "git checkout
>>> tags/log4j-2.17.2-rc1” or just "git clone -b log4j-2.17.2-rc1
>>> https://github.com/apache/logging-log4j2.git"
>>> b) for an existing working copy to “git pull” and then “git checkout
>>> tags/log4j-2.17.2-rc1”
>>>
>>> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>>>
>>> Maven Artifacts:
>>> https://repository.apache.org/content/repositories/orgapachelogging-1084/
>>>
>>> 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-1084/org/apache/logging/log4j/
>>>
>>> Ralph
>>>
>>>
>>>
>>>
Re: [VOTE] Release Apache Log4j 2.17.2-rc1
Posted by Remko Popma <re...@gmail.com>.
I noted that the checksum files for the distribution archives are now
_almost_ in the right format to allow checking with the `shasum` utility:
cat ./apache-log4j-2.17.2-bin.tar.gz.sha256
c8f7cfe4ac9825043432b310709dee2661398573de28c83e603e80e0e86df9bb
apache-log4j-2.17.2-bin.tar.gz
Unfortunately there is only one space between the checksum string and the
file name string, and there need to be two spaces.
(If I modify the sha256 file and add another space between these strings,
then `shasum -a 256 -c ./apache-log4j-2.17.2-bin.tar.gz.sha256` succeeds.)
On Thu, Feb 24, 2022 at 11:48 AM Remko Popma <re...@gmail.com> wrote:
> +1
>
> Signatures good, checksums good.
>
> Build passes (ignoring rev-api problem for the mongodb3 module)
>
> Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117;
> 2019-08-28T00:06:16+09:00)
> Maven home: C:\apps\apache-maven-3.6.2\bin\..
> Java version: 1.8.0_202, vendor: Oracle Corporation, runtime:
> C:\apps\jdk1.8.0_202\jre
> Default locale: en_GB, platform encoding: MS932
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>
>
>
>
> On Thu, Feb 24, 2022 at 8:58 AM Ralph Goers <ra...@dslextreme.com>
> wrote:
>
>> This is a vote to release Log4j 2.17.2, 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. 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 version include:
>>
>> New Features
>>
>> • LOG4J2-3297: Limit loading of configuration via a url to https
>> by default.
>> • LOG4J2-2486: Require log4j2.Script.enableLanguages to be
>> specified to enable scripting for specific languages.
>> • LOG4J2-3303: Add TB support to FileSize. Thanks to ramananravi.
>> • LOG4J2-3282: Add the log4j-to-jul JDK Logging Bridge Thanks to
>> Michael Vorburger.
>> • : Add
>> org.apache.logging.log4j.core.appender.AsyncAppender.getAppenders() to more
>> easily port from org.apache.log4j.AsyncAppender.getAllAppenders().
>> • : Add Configurator.setLevel(Logger, Level), setLevel(String,
>> String), and setLevel(Class, Level). Thanks to Gary Gregory.
>> • LOG4J2-3341: Add shorthand syntax for properties configuration
>> format for specifying a logger level and appender refs.
>> • LOG4J2-3391: Add optional additional fields to NoSQLAppender.
>> Thanks to Gary Gregory.
>> Fixed Bugs
>>
>> • LOG4J2-3304: Flag LogManager as initiialized if the
>> LoggerFactory is provided as a property. Thanks to francis-FY.
>> • LOG4J2-3404: Fix DefaultConfiguration leak in PatternLayout
>> Thanks to Piotr Karwasz.
>> • LOG4J2-3405: Document that the Spring Boot Lookup requires the
>> log4j-spring-boot dependency.
>> • LOG4J2-3317: Fix RoutingAppender backcompat and disallow
>> recursive evaluation of lookup results outside of configuration properties.
>> • LOG4J2-3333: Fix ThreadContextDataInjector initialization
>> deadlock
>> • LOG4J2-3358: Fix substitutions when programmatic configuration
>> is used
>> • LOG4J2-3306: OptionConverter could cause a StackOverflowError.
>> • : Log4j 1.2 bridge class ConsoleAppender should extend
>> WriterAppender and provide better compatibility with custom appenders.
>> • : Log4j 1.2 bridge method NDC.inherit(Stack) should not use
>> generics to provide source compatibility.
>> • : Log4j 1.2 bridge class PatternLayout is missing constants
>> DEFAULT_CONVERSION_PATTERN and TTCC_CONVERSION_PATTERN.
>> • : Log4j 1.2 bridge class PropertyConfigurator should implement
>> Configurator.
>> • : Log4j 1.2 bridge interface Configurator doConfigure() methods
>> should use LoggerRepository, not LoggerContext.
>> • : Log4j 1.2 bridge class OptionConverter is missing
>> selectAndConfigure() methods.
>> • : Log4j 1.2 bridge class Category should implement
>> AppenderAttachable.
>> • : Log4j 1.2 bridge method Category.exists(String) should be
>> static.
>> • : Log4j 1.2 bridge methods missing in
>> org.apache.log4j.Category: getDefaultHierarchy(), getHierarchy(),
>> getLoggerRepository().
>> • : Log4j 1.2 bridge class LogManager default constructor should
>> be public.
>> • : Log4j 1.2 bridge interface
>> org.apache.log4j.spi.RendererSupport was in the wrong package and
>> incomplete.
>> • : Log4j 1.2 bridge interfaces missing from package
>> org.apache.log4j.spi: ThrowableRenderer, ThrowableRendererSupport,
>> TriggeringEventEvaluator.
>> • : Log4j 1.2 bridge missing class
>> org.apache.log4j.or.RendererMap.
>> • LOG4J2-3281: Log4j 1.2 bridge
>> PropertiesConfiguration.buildAppender not adding filters to custom appender.
>> • LOG4J2-3316: Log4j 1.2 bridge should ignore case in properties
>> file keys.
>> • : Log4j 1.2 bridge adds
>> org.apache.log4j.component.helpers.Constants.
>> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.LogLog.
>> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.Loader.
>> • : Log4j 1.2 bridge adds org.apache.log4j.spi.RootLogger.
>> • : Log4j 1.2 bridge class Category is missing some protected
>> instance variables.
>> • : Log4j 1.2 bridge adds org.apache.log4j.Hierarchy.
>> • : Log4j 1.2 bridge methods Category.getChainedPriority() and
>> getEffectiveLevel() should not be final.
>> • : Log4j 1.2 bridge adds
>> org.apache.log4j.spi.NOPLoggerRepository and NOPLogger.
>> • : Log4j 1.2 bridge adds
>> org.apache.log4j.spi.DefaultRepositorySelector.
>> • : Log4j 1.2 bridge implements LogManager.getCurrentLoggers()
>> fully.
>> • LOG4J2-3326: Log4j 1.2 bridge fixes parsing filters in
>> properties configuration file #680. Thanks to Benjamin Röhl, Gary Gregory.
>> • LOG4J2-3326: Log4j 1.2 bridge missing
>> OptionConverter.instantiateByKey(Properties, String, Class, Object). Thanks
>> to Gary Gregory.
>> • LOG4J2-3326: Log4j 1.2 bridge class
>> org.apache.log4j.spi.LoggingEvent missing constructors and public instance
>> variable. Thanks to Gary Gregory.
>> • LOG4J2-3328: Log4j 1.2 bridge does not support system
>> properties in log4j.xml. Thanks to Gary Gregory.
>> • : Log4j 1.2 bridge now logs a warning instead of throwing an
>> NullPointerException when building a Syslog appender with a missing
>> "SyslogHost" param. Thanks to Gary Gregory.
>> • : Log4j 1.2 bridge should allow property and XML attributes to
>> start with either an upper-case or lower-case letter. Thanks to Gary
>> Gregory, Piotr P. Karwasz.
>> • : Log4j 1.2 bridge uses the wrong default values for a
>> TTCCLayout #709. Thanks to Gary Gregory, Piotr P. Karwasz.
>> • : Log4j 1.2 bridge throws ClassCastException when using
>> SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
>> • : Log4j 1.2 bridge uses the wrong file pattern for rolling file
>> appenders #710. Thanks to Gary Gregory, Piotr P. Karwasz.
>> • : Log4j 1.2 bridge throws ClassCastException when using
>> SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
>> • : Log4j 1.2 bridge creates a SocketAppender instead of a
>> SyslogAppender. Thanks to Gary Gregory.
>> • : Log4j 1.2 bridge uses some incorrect default property values
>> in some appenders. Thanks to Piotr P. Karwasz.
>> • : Log4j 1.2 bridge supports the SocketAppender. Thanks to Gary
>> Gregory.
>> • : Log4j 1.2 bridge missing DefaultThrowableRenderer. Thanks to
>> Gary Gregory.
>> • : Log4j 1.2 bridge missing some ThrowableInformation
>> constructors. Thanks to Gary Gregory.
>> • : Log4j 1.2 bridge missing some LocationInfo constructors.
>> Thanks to Gary Gregory.
>> • : Log4j 1.2 bridge missed Thanks to Gary Gregory.
>> • : Log4j 1.2 bridge missed
>> org.apache.log4j.pattern.FormattingInfo. Thanks to Gary Gregory.
>> • : Log4j 1.2 bridge missed
>> org.apache.log4j.pattern.NameAbbreviator. Thanks to Gary Gregory.
>> • : Log4j 1.2 bridge missing UtilLoggingLevel. Thanks to Gary
>> Gregory.
>> • : Log4j 1.2 bridge missing FormattingInfo. Thanks to Gary
>> Gregory.
>> • : Log4j 1.2 bridge missing PatternConverter. Thanks to Gary
>> Gregory.
>> • : Log4j 1.2 bridge missing PatternParser. Thanks to Gary
>> Gregory.
>> • : Log4j 1.2 bridge issues with filters #753. Thanks to
>> ppkarwasz, Gary Gregory.
>> • : Log4j 1.2 bridge implements most of DOMConfigurator. Thanks
>> to Gary Gregory.
>> • : JndiManager reverts to 2.17.0 behavior: Read the system
>> property for each call.
>> • LOG4J2-3330: Configurator.setLevel not fetching the correct
>> LoggerContext. Thanks to Mircea Lemnaru, Gary Gregory.
>> • : Fix DTD error: Add missing ELEMENT for Marker.
>> • : Fix log4j-jakarta-web service file #723. Thanks to Gary
>> Gregory, Piotr P. Karwasz.
>> • LOG4J2-3392: AppenderLoggingException logging any exception to
>> a MongoDB Appender. Thanks to Gary Gregory, Omer U.
>> • LOG4J2-3392: Possible NullPointerException in
>> MongoDb4DocumentObject, MongoDbDocumentObject, DefaultNoSqlObject. Thanks
>> to Gary Gregory.
>> • : Trim whitespace before parsing a String into an Integer.
>> Thanks to Gary Gregory.
>> • LOG4J2-3410: Log4j 1.2 bridge throws a ClassCastException when
>> logging a Map with non-String keys. Thanks to Barry Sham, Gary Gregory.
>> • LOG4J2-3407: Log4j 1.2 bridge Check for non-existent appender
>> when parsing properties #761. Thanks to Kenny MacLeod.
>> • LOG4J2-3407: Log4j 1.2 bridge supports global threshold #764.
>> Thanks to Piotr P. Karwasz.
>> Changes
>>
>> • LOG4J2-3267: Change modifier of method
>> org.apache.logging.log4j.core.tools.Generate#generate to public (was
>> package private) to facilitate automated code generation.
>>
>> Tag:
>> a) for a new copy do "git clone
>> https://github.com/apache/logging-log4j2.git and then "git checkout
>> tags/log4j-2.17.2-rc1” or just "git clone -b log4j-2.17.2-rc1
>> https://github.com/apache/logging-log4j2.git"
>> b) for an existing working copy to “git pull” and then “git checkout
>> tags/log4j-2.17.2-rc1”
>>
>> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>>
>> Maven Artifacts:
>> https://repository.apache.org/content/repositories/orgapachelogging-1084/
>>
>> 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-1084/org/apache/logging/log4j/
>>
>> Ralph
>>
>>
>>
>>
Re: [VOTE] Release Apache Log4j 2.17.2-rc1
Posted by Remko Popma <re...@gmail.com>.
+1
Signatures good, checksums good.
Build passes (ignoring rev-api problem for the mongodb3 module)
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117;
2019-08-28T00:06:16+09:00)
Maven home: C:\apps\apache-maven-3.6.2\bin\..
Java version: 1.8.0_202, vendor: Oracle Corporation, runtime:
C:\apps\jdk1.8.0_202\jre
Default locale: en_GB, platform encoding: MS932
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
On Thu, Feb 24, 2022 at 8:58 AM Ralph Goers <ra...@dslextreme.com>
wrote:
> This is a vote to release Log4j 2.17.2, 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. 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 version include:
>
> New Features
>
> • LOG4J2-3297: Limit loading of configuration via a url to https
> by default.
> • LOG4J2-2486: Require log4j2.Script.enableLanguages to be
> specified to enable scripting for specific languages.
> • LOG4J2-3303: Add TB support to FileSize. Thanks to ramananravi.
> • LOG4J2-3282: Add the log4j-to-jul JDK Logging Bridge Thanks to
> Michael Vorburger.
> • : Add
> org.apache.logging.log4j.core.appender.AsyncAppender.getAppenders() to more
> easily port from org.apache.log4j.AsyncAppender.getAllAppenders().
> • : Add Configurator.setLevel(Logger, Level), setLevel(String,
> String), and setLevel(Class, Level). Thanks to Gary Gregory.
> • LOG4J2-3341: Add shorthand syntax for properties configuration
> format for specifying a logger level and appender refs.
> • LOG4J2-3391: Add optional additional fields to NoSQLAppender.
> Thanks to Gary Gregory.
> Fixed Bugs
>
> • LOG4J2-3304: Flag LogManager as initiialized if the
> LoggerFactory is provided as a property. Thanks to francis-FY.
> • LOG4J2-3404: Fix DefaultConfiguration leak in PatternLayout
> Thanks to Piotr Karwasz.
> • LOG4J2-3405: Document that the Spring Boot Lookup requires the
> log4j-spring-boot dependency.
> • LOG4J2-3317: Fix RoutingAppender backcompat and disallow
> recursive evaluation of lookup results outside of configuration properties.
> • LOG4J2-3333: Fix ThreadContextDataInjector initialization
> deadlock
> • LOG4J2-3358: Fix substitutions when programmatic configuration
> is used
> • LOG4J2-3306: OptionConverter could cause a StackOverflowError.
> • : Log4j 1.2 bridge class ConsoleAppender should extend
> WriterAppender and provide better compatibility with custom appenders.
> • : Log4j 1.2 bridge method NDC.inherit(Stack) should not use
> generics to provide source compatibility.
> • : Log4j 1.2 bridge class PatternLayout is missing constants
> DEFAULT_CONVERSION_PATTERN and TTCC_CONVERSION_PATTERN.
> • : Log4j 1.2 bridge class PropertyConfigurator should implement
> Configurator.
> • : Log4j 1.2 bridge interface Configurator doConfigure() methods
> should use LoggerRepository, not LoggerContext.
> • : Log4j 1.2 bridge class OptionConverter is missing
> selectAndConfigure() methods.
> • : Log4j 1.2 bridge class Category should implement
> AppenderAttachable.
> • : Log4j 1.2 bridge method Category.exists(String) should be
> static.
> • : Log4j 1.2 bridge methods missing in org.apache.log4j.Category:
> getDefaultHierarchy(), getHierarchy(), getLoggerRepository().
> • : Log4j 1.2 bridge class LogManager default constructor should
> be public.
> • : Log4j 1.2 bridge interface
> org.apache.log4j.spi.RendererSupport was in the wrong package and
> incomplete.
> • : Log4j 1.2 bridge interfaces missing from package
> org.apache.log4j.spi: ThrowableRenderer, ThrowableRendererSupport,
> TriggeringEventEvaluator.
> • : Log4j 1.2 bridge missing class org.apache.log4j.or.RendererMap.
> • LOG4J2-3281: Log4j 1.2 bridge
> PropertiesConfiguration.buildAppender not adding filters to custom appender.
> • LOG4J2-3316: Log4j 1.2 bridge should ignore case in properties
> file keys.
> • : Log4j 1.2 bridge adds
> org.apache.log4j.component.helpers.Constants.
> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.LogLog.
> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.Loader.
> • : Log4j 1.2 bridge adds org.apache.log4j.spi.RootLogger.
> • : Log4j 1.2 bridge class Category is missing some protected
> instance variables.
> • : Log4j 1.2 bridge adds org.apache.log4j.Hierarchy.
> • : Log4j 1.2 bridge methods Category.getChainedPriority() and
> getEffectiveLevel() should not be final.
> • : Log4j 1.2 bridge adds org.apache.log4j.spi.NOPLoggerRepository
> and NOPLogger.
> • : Log4j 1.2 bridge adds
> org.apache.log4j.spi.DefaultRepositorySelector.
> • : Log4j 1.2 bridge implements LogManager.getCurrentLoggers()
> fully.
> • LOG4J2-3326: Log4j 1.2 bridge fixes parsing filters in
> properties configuration file #680. Thanks to Benjamin Röhl, Gary Gregory.
> • LOG4J2-3326: Log4j 1.2 bridge missing
> OptionConverter.instantiateByKey(Properties, String, Class, Object). Thanks
> to Gary Gregory.
> • LOG4J2-3326: Log4j 1.2 bridge class
> org.apache.log4j.spi.LoggingEvent missing constructors and public instance
> variable. Thanks to Gary Gregory.
> • LOG4J2-3328: Log4j 1.2 bridge does not support system properties
> in log4j.xml. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge now logs a warning instead of throwing an
> NullPointerException when building a Syslog appender with a missing
> "SyslogHost" param. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge should allow property and XML attributes to
> start with either an upper-case or lower-case letter. Thanks to Gary
> Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge uses the wrong default values for a
> TTCCLayout #709. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge throws ClassCastException when using
> SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge uses the wrong file pattern for rolling file
> appenders #710. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge throws ClassCastException when using
> SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge creates a SocketAppender instead of a
> SyslogAppender. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge uses some incorrect default property values
> in some appenders. Thanks to Piotr P. Karwasz.
> • : Log4j 1.2 bridge supports the SocketAppender. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing DefaultThrowableRenderer. Thanks to
> Gary Gregory.
> • : Log4j 1.2 bridge missing some ThrowableInformation
> constructors. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing some LocationInfo constructors.
> Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed
> org.apache.log4j.pattern.FormattingInfo. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed
> org.apache.log4j.pattern.NameAbbreviator. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing UtilLoggingLevel. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing FormattingInfo. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing PatternConverter. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing PatternParser. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge issues with filters #753. Thanks to
> ppkarwasz, Gary Gregory.
> • : Log4j 1.2 bridge implements most of DOMConfigurator. Thanks to
> Gary Gregory.
> • : JndiManager reverts to 2.17.0 behavior: Read the system
> property for each call.
> • LOG4J2-3330: Configurator.setLevel not fetching the correct
> LoggerContext. Thanks to Mircea Lemnaru, Gary Gregory.
> • : Fix DTD error: Add missing ELEMENT for Marker.
> • : Fix log4j-jakarta-web service file #723. Thanks to Gary
> Gregory, Piotr P. Karwasz.
> • LOG4J2-3392: AppenderLoggingException logging any exception to a
> MongoDB Appender. Thanks to Gary Gregory, Omer U.
> • LOG4J2-3392: Possible NullPointerException in
> MongoDb4DocumentObject, MongoDbDocumentObject, DefaultNoSqlObject. Thanks
> to Gary Gregory.
> • : Trim whitespace before parsing a String into an Integer.
> Thanks to Gary Gregory.
> • LOG4J2-3410: Log4j 1.2 bridge throws a ClassCastException when
> logging a Map with non-String keys. Thanks to Barry Sham, Gary Gregory.
> • LOG4J2-3407: Log4j 1.2 bridge Check for non-existent appender
> when parsing properties #761. Thanks to Kenny MacLeod.
> • LOG4J2-3407: Log4j 1.2 bridge supports global threshold #764.
> Thanks to Piotr P. Karwasz.
> Changes
>
> • LOG4J2-3267: Change modifier of method
> org.apache.logging.log4j.core.tools.Generate#generate to public (was
> package private) to facilitate automated code generation.
>
> Tag:
> a) for a new copy do "git clone
> https://github.com/apache/logging-log4j2.git and then "git checkout
> tags/log4j-2.17.2-rc1” or just "git clone -b log4j-2.17.2-rc1
> https://github.com/apache/logging-log4j2.git"
> b) for an existing working copy to “git pull” and then “git checkout
> tags/log4j-2.17.2-rc1”
>
> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>
> Maven Artifacts:
> https://repository.apache.org/content/repositories/orgapachelogging-1084/
>
> 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-1084/org/apache/logging/log4j/
>
> Ralph
>
>
>
>
Re: [VOTE] Release Apache Log4j 2.17.2-rc1
Posted by Volkan Yazıcı <vo...@yazi.ci>.
+1
*What did I check?*
`./mvnw verify -Dmaven.soap.skip` succeeds.
Checked `./mvnw site -N -DskipTests`, spotted the same issues Matt noted.
`bin/verify-release-artifacts.sh` succeeds. (Who wrote this awesome script?)
Checked against our in-house Log4j wrapper at bol.com, tests passed.
*What did I not check?*
I generally skim through commits one last time, but I have skipped that
step due to time constraints.
*Setup*
OpenJDK 64-Bit Server VM (Zulu 8.60.0.21-CA-linux64) (build 25.322-b06,
mixed mode)
OpenJDK 64-Bit Server VM Zulu11.54+25-CA (build 11.0.14.1+1-LTS, mixed mode)
Linux 5.13.0-28-generic
On Thu, Feb 24, 2022 at 12:58 AM Ralph Goers <ra...@dslextreme.com>
wrote:
> This is a vote to release Log4j 2.17.2, 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. 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 version include:
>
> New Features
>
> • LOG4J2-3297: Limit loading of configuration via a url to https
> by default.
> • LOG4J2-2486: Require log4j2.Script.enableLanguages to be
> specified to enable scripting for specific languages.
> • LOG4J2-3303: Add TB support to FileSize. Thanks to ramananravi.
> • LOG4J2-3282: Add the log4j-to-jul JDK Logging Bridge Thanks to
> Michael Vorburger.
> • : Add
> org.apache.logging.log4j.core.appender.AsyncAppender.getAppenders() to more
> easily port from org.apache.log4j.AsyncAppender.getAllAppenders().
> • : Add Configurator.setLevel(Logger, Level), setLevel(String,
> String), and setLevel(Class, Level). Thanks to Gary Gregory.
> • LOG4J2-3341: Add shorthand syntax for properties configuration
> format for specifying a logger level and appender refs.
> • LOG4J2-3391: Add optional additional fields to NoSQLAppender.
> Thanks to Gary Gregory.
> Fixed Bugs
>
> • LOG4J2-3304: Flag LogManager as initiialized if the
> LoggerFactory is provided as a property. Thanks to francis-FY.
> • LOG4J2-3404: Fix DefaultConfiguration leak in PatternLayout
> Thanks to Piotr Karwasz.
> • LOG4J2-3405: Document that the Spring Boot Lookup requires the
> log4j-spring-boot dependency.
> • LOG4J2-3317: Fix RoutingAppender backcompat and disallow
> recursive evaluation of lookup results outside of configuration properties.
> • LOG4J2-3333: Fix ThreadContextDataInjector initialization
> deadlock
> • LOG4J2-3358: Fix substitutions when programmatic configuration
> is used
> • LOG4J2-3306: OptionConverter could cause a StackOverflowError.
> • : Log4j 1.2 bridge class ConsoleAppender should extend
> WriterAppender and provide better compatibility with custom appenders.
> • : Log4j 1.2 bridge method NDC.inherit(Stack) should not use
> generics to provide source compatibility.
> • : Log4j 1.2 bridge class PatternLayout is missing constants
> DEFAULT_CONVERSION_PATTERN and TTCC_CONVERSION_PATTERN.
> • : Log4j 1.2 bridge class PropertyConfigurator should implement
> Configurator.
> • : Log4j 1.2 bridge interface Configurator doConfigure() methods
> should use LoggerRepository, not LoggerContext.
> • : Log4j 1.2 bridge class OptionConverter is missing
> selectAndConfigure() methods.
> • : Log4j 1.2 bridge class Category should implement
> AppenderAttachable.
> • : Log4j 1.2 bridge method Category.exists(String) should be
> static.
> • : Log4j 1.2 bridge methods missing in org.apache.log4j.Category:
> getDefaultHierarchy(), getHierarchy(), getLoggerRepository().
> • : Log4j 1.2 bridge class LogManager default constructor should
> be public.
> • : Log4j 1.2 bridge interface
> org.apache.log4j.spi.RendererSupport was in the wrong package and
> incomplete.
> • : Log4j 1.2 bridge interfaces missing from package
> org.apache.log4j.spi: ThrowableRenderer, ThrowableRendererSupport,
> TriggeringEventEvaluator.
> • : Log4j 1.2 bridge missing class org.apache.log4j.or.RendererMap.
> • LOG4J2-3281: Log4j 1.2 bridge
> PropertiesConfiguration.buildAppender not adding filters to custom appender.
> • LOG4J2-3316: Log4j 1.2 bridge should ignore case in properties
> file keys.
> • : Log4j 1.2 bridge adds
> org.apache.log4j.component.helpers.Constants.
> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.LogLog.
> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.Loader.
> • : Log4j 1.2 bridge adds org.apache.log4j.spi.RootLogger.
> • : Log4j 1.2 bridge class Category is missing some protected
> instance variables.
> • : Log4j 1.2 bridge adds org.apache.log4j.Hierarchy.
> • : Log4j 1.2 bridge methods Category.getChainedPriority() and
> getEffectiveLevel() should not be final.
> • : Log4j 1.2 bridge adds org.apache.log4j.spi.NOPLoggerRepository
> and NOPLogger.
> • : Log4j 1.2 bridge adds
> org.apache.log4j.spi.DefaultRepositorySelector.
> • : Log4j 1.2 bridge implements LogManager.getCurrentLoggers()
> fully.
> • LOG4J2-3326: Log4j 1.2 bridge fixes parsing filters in
> properties configuration file #680. Thanks to Benjamin Röhl, Gary Gregory.
> • LOG4J2-3326: Log4j 1.2 bridge missing
> OptionConverter.instantiateByKey(Properties, String, Class, Object). Thanks
> to Gary Gregory.
> • LOG4J2-3326: Log4j 1.2 bridge class
> org.apache.log4j.spi.LoggingEvent missing constructors and public instance
> variable. Thanks to Gary Gregory.
> • LOG4J2-3328: Log4j 1.2 bridge does not support system properties
> in log4j.xml. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge now logs a warning instead of throwing an
> NullPointerException when building a Syslog appender with a missing
> "SyslogHost" param. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge should allow property and XML attributes to
> start with either an upper-case or lower-case letter. Thanks to Gary
> Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge uses the wrong default values for a
> TTCCLayout #709. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge throws ClassCastException when using
> SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge uses the wrong file pattern for rolling file
> appenders #710. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge throws ClassCastException when using
> SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge creates a SocketAppender instead of a
> SyslogAppender. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge uses some incorrect default property values
> in some appenders. Thanks to Piotr P. Karwasz.
> • : Log4j 1.2 bridge supports the SocketAppender. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing DefaultThrowableRenderer. Thanks to
> Gary Gregory.
> • : Log4j 1.2 bridge missing some ThrowableInformation
> constructors. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing some LocationInfo constructors.
> Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed
> org.apache.log4j.pattern.FormattingInfo. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed
> org.apache.log4j.pattern.NameAbbreviator. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing UtilLoggingLevel. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing FormattingInfo. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing PatternConverter. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing PatternParser. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge issues with filters #753. Thanks to
> ppkarwasz, Gary Gregory.
> • : Log4j 1.2 bridge implements most of DOMConfigurator. Thanks to
> Gary Gregory.
> • : JndiManager reverts to 2.17.0 behavior: Read the system
> property for each call.
> • LOG4J2-3330: Configurator.setLevel not fetching the correct
> LoggerContext. Thanks to Mircea Lemnaru, Gary Gregory.
> • : Fix DTD error: Add missing ELEMENT for Marker.
> • : Fix log4j-jakarta-web service file #723. Thanks to Gary
> Gregory, Piotr P. Karwasz.
> • LOG4J2-3392: AppenderLoggingException logging any exception to a
> MongoDB Appender. Thanks to Gary Gregory, Omer U.
> • LOG4J2-3392: Possible NullPointerException in
> MongoDb4DocumentObject, MongoDbDocumentObject, DefaultNoSqlObject. Thanks
> to Gary Gregory.
> • : Trim whitespace before parsing a String into an Integer.
> Thanks to Gary Gregory.
> • LOG4J2-3410: Log4j 1.2 bridge throws a ClassCastException when
> logging a Map with non-String keys. Thanks to Barry Sham, Gary Gregory.
> • LOG4J2-3407: Log4j 1.2 bridge Check for non-existent appender
> when parsing properties #761. Thanks to Kenny MacLeod.
> • LOG4J2-3407: Log4j 1.2 bridge supports global threshold #764.
> Thanks to Piotr P. Karwasz.
> Changes
>
> • LOG4J2-3267: Change modifier of method
> org.apache.logging.log4j.core.tools.Generate#generate to public (was
> package private) to facilitate automated code generation.
>
> Tag:
> a) for a new copy do "git clone
> https://github.com/apache/logging-log4j2.git and then "git checkout
> tags/log4j-2.17.2-rc1” or just "git clone -b log4j-2.17.2-rc1
> https://github.com/apache/logging-log4j2.git"
> b) for an existing working copy to “git pull” and then “git checkout
> tags/log4j-2.17.2-rc1”
>
> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>
> Maven Artifacts:
> https://repository.apache.org/content/repositories/orgapachelogging-1084/
>
> 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-1084/org/apache/logging/log4j/
>
> Ralph
>
>
>
>
Re: [VOTE] Release Apache Log4j 2.17.2-rc1
Posted by "张铎(Duo Zhang)" <pa...@gmail.com>.
+1(non-binding)
I opened a PR in hbase to make use of the staging artifacts
https://github.com/apache/hbase/pull/4096
I tried to compile and dist locally, all looked good.
Started a standalone mini cluster of hbase, used the newly introduced
syntax in LOG4J2-3341 to specify level and appender at once, it worked.
Thanks a lot!
Gary Gregory <ga...@gmail.com> 于2022年2月24日周四 17:39写道:
> Version 2.12.4 is still in the dist folder for some reason, which I
> accidentally downloaded and built instead of what we are actually
> validating, doh, bad on me.
>
> Gary
>
> On Wed, Feb 23, 2022 at 6:58 PM Ralph Goers <ra...@dslextreme.com>
> wrote:
>
> > This is a vote to release Log4j 2.17.2, 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. 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 version include:
> >
> > New Features
> >
> > • LOG4J2-3297: Limit loading of configuration via a url to https
> > by default.
> > • LOG4J2-2486: Require log4j2.Script.enableLanguages to be
> > specified to enable scripting for specific languages.
> > • LOG4J2-3303: Add TB support to FileSize. Thanks to ramananravi.
> > • LOG4J2-3282: Add the log4j-to-jul JDK Logging Bridge Thanks to
> > Michael Vorburger.
> > • : Add
> > org.apache.logging.log4j.core.appender.AsyncAppender.getAppenders() to
> more
> > easily port from org.apache.log4j.AsyncAppender.getAllAppenders().
> > • : Add Configurator.setLevel(Logger, Level), setLevel(String,
> > String), and setLevel(Class, Level). Thanks to Gary Gregory.
> > • LOG4J2-3341: Add shorthand syntax for properties configuration
> > format for specifying a logger level and appender refs.
> > • LOG4J2-3391: Add optional additional fields to NoSQLAppender.
> > Thanks to Gary Gregory.
> > Fixed Bugs
> >
> > • LOG4J2-3304: Flag LogManager as initiialized if the
> > LoggerFactory is provided as a property. Thanks to francis-FY.
> > • LOG4J2-3404: Fix DefaultConfiguration leak in PatternLayout
> > Thanks to Piotr Karwasz.
> > • LOG4J2-3405: Document that the Spring Boot Lookup requires the
> > log4j-spring-boot dependency.
> > • LOG4J2-3317: Fix RoutingAppender backcompat and disallow
> > recursive evaluation of lookup results outside of configuration
> properties.
> > • LOG4J2-3333: Fix ThreadContextDataInjector initialization
> > deadlock
> > • LOG4J2-3358: Fix substitutions when programmatic configuration
> > is used
> > • LOG4J2-3306: OptionConverter could cause a StackOverflowError.
> > • : Log4j 1.2 bridge class ConsoleAppender should extend
> > WriterAppender and provide better compatibility with custom appenders.
> > • : Log4j 1.2 bridge method NDC.inherit(Stack) should not use
> > generics to provide source compatibility.
> > • : Log4j 1.2 bridge class PatternLayout is missing constants
> > DEFAULT_CONVERSION_PATTERN and TTCC_CONVERSION_PATTERN.
> > • : Log4j 1.2 bridge class PropertyConfigurator should implement
> > Configurator.
> > • : Log4j 1.2 bridge interface Configurator doConfigure() methods
> > should use LoggerRepository, not LoggerContext.
> > • : Log4j 1.2 bridge class OptionConverter is missing
> > selectAndConfigure() methods.
> > • : Log4j 1.2 bridge class Category should implement
> > AppenderAttachable.
> > • : Log4j 1.2 bridge method Category.exists(String) should be
> > static.
> > • : Log4j 1.2 bridge methods missing in
> org.apache.log4j.Category:
> > getDefaultHierarchy(), getHierarchy(), getLoggerRepository().
> > • : Log4j 1.2 bridge class LogManager default constructor should
> > be public.
> > • : Log4j 1.2 bridge interface
> > org.apache.log4j.spi.RendererSupport was in the wrong package and
> > incomplete.
> > • : Log4j 1.2 bridge interfaces missing from package
> > org.apache.log4j.spi: ThrowableRenderer, ThrowableRendererSupport,
> > TriggeringEventEvaluator.
> > • : Log4j 1.2 bridge missing class
> org.apache.log4j.or.RendererMap.
> > • LOG4J2-3281: Log4j 1.2 bridge
> > PropertiesConfiguration.buildAppender not adding filters to custom
> appender.
> > • LOG4J2-3316: Log4j 1.2 bridge should ignore case in properties
> > file keys.
> > • : Log4j 1.2 bridge adds
> > org.apache.log4j.component.helpers.Constants.
> > • : Log4j 1.2 bridge adds org.apache.log4j.helpers.LogLog.
> > • : Log4j 1.2 bridge adds org.apache.log4j.helpers.Loader.
> > • : Log4j 1.2 bridge adds org.apache.log4j.spi.RootLogger.
> > • : Log4j 1.2 bridge class Category is missing some protected
> > instance variables.
> > • : Log4j 1.2 bridge adds org.apache.log4j.Hierarchy.
> > • : Log4j 1.2 bridge methods Category.getChainedPriority() and
> > getEffectiveLevel() should not be final.
> > • : Log4j 1.2 bridge adds
> org.apache.log4j.spi.NOPLoggerRepository
> > and NOPLogger.
> > • : Log4j 1.2 bridge adds
> > org.apache.log4j.spi.DefaultRepositorySelector.
> > • : Log4j 1.2 bridge implements LogManager.getCurrentLoggers()
> > fully.
> > • LOG4J2-3326: Log4j 1.2 bridge fixes parsing filters in
> > properties configuration file #680. Thanks to Benjamin Röhl, Gary
> Gregory.
> > • LOG4J2-3326: Log4j 1.2 bridge missing
> > OptionConverter.instantiateByKey(Properties, String, Class, Object).
> Thanks
> > to Gary Gregory.
> > • LOG4J2-3326: Log4j 1.2 bridge class
> > org.apache.log4j.spi.LoggingEvent missing constructors and public
> instance
> > variable. Thanks to Gary Gregory.
> > • LOG4J2-3328: Log4j 1.2 bridge does not support system
> properties
> > in log4j.xml. Thanks to Gary Gregory.
> > • : Log4j 1.2 bridge now logs a warning instead of throwing an
> > NullPointerException when building a Syslog appender with a missing
> > "SyslogHost" param. Thanks to Gary Gregory.
> > • : Log4j 1.2 bridge should allow property and XML attributes to
> > start with either an upper-case or lower-case letter. Thanks to Gary
> > Gregory, Piotr P. Karwasz.
> > • : Log4j 1.2 bridge uses the wrong default values for a
> > TTCCLayout #709. Thanks to Gary Gregory, Piotr P. Karwasz.
> > • : Log4j 1.2 bridge throws ClassCastException when using
> > SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
> > • : Log4j 1.2 bridge uses the wrong file pattern for rolling file
> > appenders #710. Thanks to Gary Gregory, Piotr P. Karwasz.
> > • : Log4j 1.2 bridge throws ClassCastException when using
> > SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
> > • : Log4j 1.2 bridge creates a SocketAppender instead of a
> > SyslogAppender. Thanks to Gary Gregory.
> > • : Log4j 1.2 bridge uses some incorrect default property values
> > in some appenders. Thanks to Piotr P. Karwasz.
> > • : Log4j 1.2 bridge supports the SocketAppender. Thanks to Gary
> > Gregory.
> > • : Log4j 1.2 bridge missing DefaultThrowableRenderer. Thanks to
> > Gary Gregory.
> > • : Log4j 1.2 bridge missing some ThrowableInformation
> > constructors. Thanks to Gary Gregory.
> > • : Log4j 1.2 bridge missing some LocationInfo constructors.
> > Thanks to Gary Gregory.
> > • : Log4j 1.2 bridge missed Thanks to Gary Gregory.
> > • : Log4j 1.2 bridge missed
> > org.apache.log4j.pattern.FormattingInfo. Thanks to Gary Gregory.
> > • : Log4j 1.2 bridge missed
> > org.apache.log4j.pattern.NameAbbreviator. Thanks to Gary Gregory.
> > • : Log4j 1.2 bridge missing UtilLoggingLevel. Thanks to Gary
> > Gregory.
> > • : Log4j 1.2 bridge missing FormattingInfo. Thanks to Gary
> > Gregory.
> > • : Log4j 1.2 bridge missing PatternConverter. Thanks to Gary
> > Gregory.
> > • : Log4j 1.2 bridge missing PatternParser. Thanks to Gary
> Gregory.
> > • : Log4j 1.2 bridge issues with filters #753. Thanks to
> > ppkarwasz, Gary Gregory.
> > • : Log4j 1.2 bridge implements most of DOMConfigurator. Thanks
> to
> > Gary Gregory.
> > • : JndiManager reverts to 2.17.0 behavior: Read the system
> > property for each call.
> > • LOG4J2-3330: Configurator.setLevel not fetching the correct
> > LoggerContext. Thanks to Mircea Lemnaru, Gary Gregory.
> > • : Fix DTD error: Add missing ELEMENT for Marker.
> > • : Fix log4j-jakarta-web service file #723. Thanks to Gary
> > Gregory, Piotr P. Karwasz.
> > • LOG4J2-3392: AppenderLoggingException logging any exception to
> a
> > MongoDB Appender. Thanks to Gary Gregory, Omer U.
> > • LOG4J2-3392: Possible NullPointerException in
> > MongoDb4DocumentObject, MongoDbDocumentObject, DefaultNoSqlObject. Thanks
> > to Gary Gregory.
> > • : Trim whitespace before parsing a String into an Integer.
> > Thanks to Gary Gregory.
> > • LOG4J2-3410: Log4j 1.2 bridge throws a ClassCastException when
> > logging a Map with non-String keys. Thanks to Barry Sham, Gary Gregory.
> > • LOG4J2-3407: Log4j 1.2 bridge Check for non-existent appender
> > when parsing properties #761. Thanks to Kenny MacLeod.
> > • LOG4J2-3407: Log4j 1.2 bridge supports global threshold #764.
> > Thanks to Piotr P. Karwasz.
> > Changes
> >
> > • LOG4J2-3267: Change modifier of method
> > org.apache.logging.log4j.core.tools.Generate#generate to public (was
> > package private) to facilitate automated code generation.
> >
> > Tag:
> > a) for a new copy do "git clone
> > https://github.com/apache/logging-log4j2.git and then "git checkout
> > tags/log4j-2.17.2-rc1” or just "git clone -b log4j-2.17.2-rc1
> > https://github.com/apache/logging-log4j2.git"
> > b) for an existing working copy to “git pull” and then “git checkout
> > tags/log4j-2.17.2-rc1”
> >
> > Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
> >
> > Maven Artifacts:
> >
> https://repository.apache.org/content/repositories/orgapachelogging-1084/
> >
> > 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-1084/org/apache/logging/log4j/
> >
> > Ralph
> >
> >
> >
> >
>
Re: [VOTE] Release Apache Log4j 2.17.2-rc1
Posted by Gary Gregory <ga...@gmail.com>.
Version 2.12.4 is still in the dist folder for some reason, which I
accidentally downloaded and built instead of what we are actually
validating, doh, bad on me.
Gary
On Wed, Feb 23, 2022 at 6:58 PM Ralph Goers <ra...@dslextreme.com>
wrote:
> This is a vote to release Log4j 2.17.2, 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. 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 version include:
>
> New Features
>
> • LOG4J2-3297: Limit loading of configuration via a url to https
> by default.
> • LOG4J2-2486: Require log4j2.Script.enableLanguages to be
> specified to enable scripting for specific languages.
> • LOG4J2-3303: Add TB support to FileSize. Thanks to ramananravi.
> • LOG4J2-3282: Add the log4j-to-jul JDK Logging Bridge Thanks to
> Michael Vorburger.
> • : Add
> org.apache.logging.log4j.core.appender.AsyncAppender.getAppenders() to more
> easily port from org.apache.log4j.AsyncAppender.getAllAppenders().
> • : Add Configurator.setLevel(Logger, Level), setLevel(String,
> String), and setLevel(Class, Level). Thanks to Gary Gregory.
> • LOG4J2-3341: Add shorthand syntax for properties configuration
> format for specifying a logger level and appender refs.
> • LOG4J2-3391: Add optional additional fields to NoSQLAppender.
> Thanks to Gary Gregory.
> Fixed Bugs
>
> • LOG4J2-3304: Flag LogManager as initiialized if the
> LoggerFactory is provided as a property. Thanks to francis-FY.
> • LOG4J2-3404: Fix DefaultConfiguration leak in PatternLayout
> Thanks to Piotr Karwasz.
> • LOG4J2-3405: Document that the Spring Boot Lookup requires the
> log4j-spring-boot dependency.
> • LOG4J2-3317: Fix RoutingAppender backcompat and disallow
> recursive evaluation of lookup results outside of configuration properties.
> • LOG4J2-3333: Fix ThreadContextDataInjector initialization
> deadlock
> • LOG4J2-3358: Fix substitutions when programmatic configuration
> is used
> • LOG4J2-3306: OptionConverter could cause a StackOverflowError.
> • : Log4j 1.2 bridge class ConsoleAppender should extend
> WriterAppender and provide better compatibility with custom appenders.
> • : Log4j 1.2 bridge method NDC.inherit(Stack) should not use
> generics to provide source compatibility.
> • : Log4j 1.2 bridge class PatternLayout is missing constants
> DEFAULT_CONVERSION_PATTERN and TTCC_CONVERSION_PATTERN.
> • : Log4j 1.2 bridge class PropertyConfigurator should implement
> Configurator.
> • : Log4j 1.2 bridge interface Configurator doConfigure() methods
> should use LoggerRepository, not LoggerContext.
> • : Log4j 1.2 bridge class OptionConverter is missing
> selectAndConfigure() methods.
> • : Log4j 1.2 bridge class Category should implement
> AppenderAttachable.
> • : Log4j 1.2 bridge method Category.exists(String) should be
> static.
> • : Log4j 1.2 bridge methods missing in org.apache.log4j.Category:
> getDefaultHierarchy(), getHierarchy(), getLoggerRepository().
> • : Log4j 1.2 bridge class LogManager default constructor should
> be public.
> • : Log4j 1.2 bridge interface
> org.apache.log4j.spi.RendererSupport was in the wrong package and
> incomplete.
> • : Log4j 1.2 bridge interfaces missing from package
> org.apache.log4j.spi: ThrowableRenderer, ThrowableRendererSupport,
> TriggeringEventEvaluator.
> • : Log4j 1.2 bridge missing class org.apache.log4j.or.RendererMap.
> • LOG4J2-3281: Log4j 1.2 bridge
> PropertiesConfiguration.buildAppender not adding filters to custom appender.
> • LOG4J2-3316: Log4j 1.2 bridge should ignore case in properties
> file keys.
> • : Log4j 1.2 bridge adds
> org.apache.log4j.component.helpers.Constants.
> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.LogLog.
> • : Log4j 1.2 bridge adds org.apache.log4j.helpers.Loader.
> • : Log4j 1.2 bridge adds org.apache.log4j.spi.RootLogger.
> • : Log4j 1.2 bridge class Category is missing some protected
> instance variables.
> • : Log4j 1.2 bridge adds org.apache.log4j.Hierarchy.
> • : Log4j 1.2 bridge methods Category.getChainedPriority() and
> getEffectiveLevel() should not be final.
> • : Log4j 1.2 bridge adds org.apache.log4j.spi.NOPLoggerRepository
> and NOPLogger.
> • : Log4j 1.2 bridge adds
> org.apache.log4j.spi.DefaultRepositorySelector.
> • : Log4j 1.2 bridge implements LogManager.getCurrentLoggers()
> fully.
> • LOG4J2-3326: Log4j 1.2 bridge fixes parsing filters in
> properties configuration file #680. Thanks to Benjamin Röhl, Gary Gregory.
> • LOG4J2-3326: Log4j 1.2 bridge missing
> OptionConverter.instantiateByKey(Properties, String, Class, Object). Thanks
> to Gary Gregory.
> • LOG4J2-3326: Log4j 1.2 bridge class
> org.apache.log4j.spi.LoggingEvent missing constructors and public instance
> variable. Thanks to Gary Gregory.
> • LOG4J2-3328: Log4j 1.2 bridge does not support system properties
> in log4j.xml. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge now logs a warning instead of throwing an
> NullPointerException when building a Syslog appender with a missing
> "SyslogHost" param. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge should allow property and XML attributes to
> start with either an upper-case or lower-case letter. Thanks to Gary
> Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge uses the wrong default values for a
> TTCCLayout #709. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge throws ClassCastException when using
> SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge uses the wrong file pattern for rolling file
> appenders #710. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge throws ClassCastException when using
> SimpleLayout and others #708. Thanks to Gary Gregory, Piotr P. Karwasz.
> • : Log4j 1.2 bridge creates a SocketAppender instead of a
> SyslogAppender. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge uses some incorrect default property values
> in some appenders. Thanks to Piotr P. Karwasz.
> • : Log4j 1.2 bridge supports the SocketAppender. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing DefaultThrowableRenderer. Thanks to
> Gary Gregory.
> • : Log4j 1.2 bridge missing some ThrowableInformation
> constructors. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing some LocationInfo constructors.
> Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed
> org.apache.log4j.pattern.FormattingInfo. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missed
> org.apache.log4j.pattern.NameAbbreviator. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge missing UtilLoggingLevel. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing FormattingInfo. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing PatternConverter. Thanks to Gary
> Gregory.
> • : Log4j 1.2 bridge missing PatternParser. Thanks to Gary Gregory.
> • : Log4j 1.2 bridge issues with filters #753. Thanks to
> ppkarwasz, Gary Gregory.
> • : Log4j 1.2 bridge implements most of DOMConfigurator. Thanks to
> Gary Gregory.
> • : JndiManager reverts to 2.17.0 behavior: Read the system
> property for each call.
> • LOG4J2-3330: Configurator.setLevel not fetching the correct
> LoggerContext. Thanks to Mircea Lemnaru, Gary Gregory.
> • : Fix DTD error: Add missing ELEMENT for Marker.
> • : Fix log4j-jakarta-web service file #723. Thanks to Gary
> Gregory, Piotr P. Karwasz.
> • LOG4J2-3392: AppenderLoggingException logging any exception to a
> MongoDB Appender. Thanks to Gary Gregory, Omer U.
> • LOG4J2-3392: Possible NullPointerException in
> MongoDb4DocumentObject, MongoDbDocumentObject, DefaultNoSqlObject. Thanks
> to Gary Gregory.
> • : Trim whitespace before parsing a String into an Integer.
> Thanks to Gary Gregory.
> • LOG4J2-3410: Log4j 1.2 bridge throws a ClassCastException when
> logging a Map with non-String keys. Thanks to Barry Sham, Gary Gregory.
> • LOG4J2-3407: Log4j 1.2 bridge Check for non-existent appender
> when parsing properties #761. Thanks to Kenny MacLeod.
> • LOG4J2-3407: Log4j 1.2 bridge supports global threshold #764.
> Thanks to Piotr P. Karwasz.
> Changes
>
> • LOG4J2-3267: Change modifier of method
> org.apache.logging.log4j.core.tools.Generate#generate to public (was
> package private) to facilitate automated code generation.
>
> Tag:
> a) for a new copy do "git clone
> https://github.com/apache/logging-log4j2.git and then "git checkout
> tags/log4j-2.17.2-rc1” or just "git clone -b log4j-2.17.2-rc1
> https://github.com/apache/logging-log4j2.git"
> b) for an existing working copy to “git pull” and then “git checkout
> tags/log4j-2.17.2-rc1”
>
> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html.
>
> Maven Artifacts:
> https://repository.apache.org/content/repositories/orgapachelogging-1084/
>
> 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-1084/org/apache/logging/log4j/
>
> Ralph
>
>
>
>