This is an automated email from the ASF dual-hosted git repository. rpopma pushed a change to branch release-2.x in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
from 32e0df1ba2 LOG4J2-3369 Make build and CodeQL workflows read-only. new 618e6ca56d LOG4J2-3472 make disruptor WaitStrategy configurable in Log4j configuration new 8dd38f13c4 LOG4J2-3472 custom WaitStrategy additional tests new a3f054f45a LOG4J2-3472 custom WaitStrategy documentation new 29fdca6a1a LOG4J2-3472 files should end with newline new a68d3c4e67 LOG4J2-3472 make internals available with package-protected getters for testing new a89e33deef LOG4J2-3472 clear all modified system properties after test is done new 1b989b9604 LOG4J2-3472 (DOC) clarify specification new 86fe5452f0 LOG4J2-3472 package-protected getter new 425389c04a LOG4J2-3472 fix package-protected getters new 91222178b3 LOG4J2-3472 check that user-specified class implements AsyncWaitStrategyFactory new 52713b8ac3 LOG4J2-3472 code cleanup new b45e49c395 LOG4J2-3472 add missing license text new 786c011e29 Merge pull request #824 from remkop/LOG4J2-3472-WaitStrategyFactory The 12065 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../logging/log4j/core/async/AsyncLogger.java | 5 + .../log4j/core/async/AsyncLoggerConfig.java | 5 + .../core/async/AsyncLoggerConfigDisruptor.java | 13 ++- .../log4j/core/async/AsyncLoggerContext.java | 8 +- .../log4j/core/async/AsyncLoggerDisruptor.java | 15 ++- .../AsyncWaitStrategyFactory.java} | 20 ++-- .../core/async/AsyncWaitStrategyFactoryConfig.java | 106 +++++++++++++++++++++ .../async/DefaultAsyncWaitStrategyFactory.java | 95 ++++++++++++++++++ .../logging/log4j/core/async/DisruptorUtil.java | 46 ++------- .../log4j/core/config/AbstractConfiguration.java | 15 ++- .../logging/log4j/core/config/Configuration.java | 11 +++ ...WaitStrategyFactoryConfigGlobalLoggersTest.java | 69 ++++++++++++++ .../async/AsyncWaitStrategyFactoryConfigTest.java | 83 ++++++++++++++++ ...gyFactoryIncorrectConfigGlobalLoggersTest.java} | 46 ++++----- ...ncWaitStrategyFactoryConfigGlobalLoggerTest.xml | 17 ++++ .../AsyncWaitStrategyFactoryConfigTest.xml | 17 ++++ ...ategyIncorrectFactoryConfigGlobalLoggerTest.xml | 16 ++++ ...AsyncWaitStrategyIncorrectFactoryConfigTest.xml | 16 ++++ src/site/site.xml | 1 + src/site/xdoc/manual/async.xml | 56 +++++++++++ src/site/xdoc/manual/garbagefree.xml | 6 +- 21 files changed, 580 insertions(+), 86 deletions(-) copy log4j-core/src/main/java/org/apache/logging/log4j/core/{util/SecretKeyProvider.java => async/AsyncWaitStrategyFactory.java} (60%) create mode 100644 log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncWaitStrategyFactoryConfig.java create mode 100644 log4j-core/src/main/java/org/apache/logging/log4j/core/async/DefaultAsyncWaitStrategyFactory.java create mode 100644 log4j-core/src/test/java/org/apache/logging/log4j/core/async/AsyncWaitStrategyFactoryConfigGlobalLoggersTest.java create mode 100644 log4j-core/src/test/java/org/apache/logging/log4j/core/async/AsyncWaitStrategyFactoryConfigTest.java copy log4j-core/src/test/java/org/apache/logging/log4j/core/async/{AsyncLoggerLocationTest.java => AsyncWaitStrategyFactoryIncorrectConfigGlobalLoggersTest.java} (55%) create mode 100644 log4j-core/src/test/resources/AsyncWaitStrategyFactoryConfigGlobalLoggerTest.xml create mode 100644 log4j-core/src/test/resources/AsyncWaitStrategyFactoryConfigTest.xml create mode 100644 log4j-core/src/test/resources/AsyncWaitStrategyIncorrectFactoryConfigGlobalLoggerTest.xml create mode 100644 log4j-core/src/test/resources/AsyncWaitStrategyIncorrectFactoryConfigTest.xml