Skip to content

Bump tomcat-juli from 10.0.23 to 10.1.6 #99

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2,440 commits into
base: 2.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2440 commits
Select commit Hold shift + click to select a range
ced9146
Revert "Use commons-io for file/directory cleaner JUnit extensions"
jvz Jun 18, 2022
a8a77b6
Add missing sleepy tag
jvz Jun 18, 2022
98a9e7f
Rename latch to rollover
jvz Jun 18, 2022
6231064
Make RollingAppenderCronOnceADayTest less sleepy
jvz Jun 18, 2022
bab33b7
Make RollingAppenderCronAndSizeTest less sleepy
jvz Jun 18, 2022
cb44088
Make RollingAppenderCronEvery2DirectTest less sleepy
jvz Jun 18, 2022
8cc617e
Make RollingAppenderCronEvery2Test less sleepy
jvz Jun 18, 2022
aef3807
Make RollingAppenderCronTest less sleepy
jvz Jun 18, 2022
4be704a
Make RollingAppenderDirectWrite1906Test less sleepy
jvz Jun 18, 2022
53b99a7
Make RollingAppenderDirectWriteWithReconfigureTest less sleepy
jvz Jun 18, 2022
b6eaee4
LOG4J2-3449 - Fix RollingDirectTimeNewDirectoryTest
jvz Jun 18, 2022
8c57bf7
Make RollingNewDirectoryTest less sleepy
jvz Jun 18, 2022
6b1a69a
Use AbstractRollingListenerTest
jvz Jun 18, 2022
c7adf07
Migrate JUnit 4 tests to JUnit 5
ppkarwasz Jun 20, 2022
7ce1eed
Refactor `MarkerManager` and other resource locks
ppkarwasz Jun 20, 2022
addb3ff
Fix multiple test classes using the same logger
ppkarwasz Jun 20, 2022
e48a0a9
Adds a thread-bound `ExtensionContext`
ppkarwasz Jun 20, 2022
6e20963
Marks tests that reinitialize the ThreadContextFactory
ppkarwasz Jun 20, 2022
0e68a1a
Enable parallel tests on `log4j-api-test`
ppkarwasz Jun 20, 2022
b3d53f9
Fixes `ThreadContext` test interference
ppkarwasz Jun 20, 2022
31e0084
Correct compilation error
ppkarwasz Jun 20, 2022
9af27fc
Replace magic constants with named constants
jvz Jun 20, 2022
9cd8c17
Apply code cleanup suggestions
jvz Jun 20, 2022
44ba08a
Weaken access modifiers in final class
jvz Jun 20, 2022
6f95002
Fix typos
jvz Jun 20, 2022
f7f715d
Throw IllegalArgumentException earlier
jvz Jun 20, 2022
551a747
LOG4J2-3502 Disable ITs for JTL tests.
vy Jun 22, 2022
6aaf7c4
LOG4J2-3502 Fix typo.
vy Jun 22, 2022
129b48c
Fix tests checking LifeCycle#stop()
ppkarwasz Jun 22, 2022
da68155
Fail lazily
ppkarwasz Jun 22, 2022
9223354
Use BOMs instead of single dependencies
ppkarwasz Jun 23, 2022
ea10933
Add a global test listener
ppkarwasz Jun 23, 2022
6bd41c9
LOG4J2-3339 - DirectWriteRolloverStrategy should use the current time…
rgoers Jun 27, 2022
1aa7077
Fix unit test
rgoers Jul 4, 2022
af7923b
Fix unit test
rgoers Jul 4, 2022
b99ead7
One more change to fix the test
rgoers Jul 5, 2022
a29779b
LOG4J2-3536 - Upgrade Flume Appender to Flume 1.10.0
rgoers Jul 5, 2022
439511c
fix SystemPropertyArbiter (#955)
DongjianPeng Jul 12, 2022
e946798
LOG4J2-3550 - SystemPropertyAribiter was assigning the value as the name
rgoers Jul 12, 2022
27a7f37
Prevent overwriting of constructor parameters
ppkarwasz Jul 15, 2022
a7c2beb
Add exclusive lock to SimpleLoggerTest
ppkarwasz Jul 17, 2022
eb0090b
Uniformise context selector logic
ppkarwasz Jul 17, 2022
489e1de
Clean up outdated naming and add test
jvz Jul 23, 2022
338ee72
Add javadoc
jvz Jul 23, 2022
ceb4421
Fix ordering of default bundle
jvz Jul 23, 2022
5fff1a5
Remove ConditionalOnMissingBinding
jvz Jul 23, 2022
f92a612
Add more docs for plugins/DI
jvz Jul 23, 2022
f120775
Move reflection utils from DefaultInjector to ReflectionAccessor
jvz Jul 23, 2022
d3f1f93
LOG4J2-3560: Logger$PrivateConfig.filter(Level, Marker, String) varar…
schlosna Jul 27, 2022
e2df2ee
Use InputStream::readAllBytes
jvz Jul 31, 2022
116d5ee
LOG4J2-3573 Removed build page in favor of a single build instruction…
vy Aug 18, 2022
2ee7823
LOG4J2-3578 - Generate new SSL certs for unit testing
rgoers Aug 22, 2022
6f1828c
LOG4J2-3556 Make JsonTemplateLayout stack trace truncation operate fo…
vy Aug 22, 2022
7eff673
Fix code typo in BUILDING.md (#1019)
wu-yy Aug 26, 2022
2f0d50f
log4j-jul is now a JPMS module
rgoers Sep 1, 2022
134d433
log4j-to-jul is now a JPMS module
rgoers Sep 1, 2022
5f2b968
[LOG4J2-3370] Initial SLF4J 2.0.x support (#1023)
ppkarwasz Aug 26, 2022
26db660
[LOG4J2-3585] Fix throwable logging
ppkarwasz Aug 31, 2022
8321aa6
[LOG4J2-3559] Correct normalization problem.
ppkarwasz Jul 23, 2022
de1dd16
[LOG4J2-3559] Add release notes
ppkarwasz Sep 2, 2022
a3a3dab
LOG4J2-3579 Calls ServiceLoader with caller's security context
ppkarwasz Aug 21, 2022
84c6a59
[LOG4J2-3579]
ppkarwasz Sep 2, 2022
3067dca
[LOG4J2-3583] Implements stack-valued MDC
ppkarwasz Aug 28, 2022
d34e6b0
[LOG4J2-3583] Add tests from #1022 and release notes
ppkarwasz Sep 3, 2022
1003c9a
[LOG4J2-2975] Implements the SLF4J LoggingEventBuilder
ppkarwasz Aug 28, 2022
1501fd3
[LOG4J2-2975] Add release notes
ppkarwasz Sep 3, 2022
0abc7c1
Correct build and test errors
ppkarwasz Sep 3, 2022
383f64a
LOG4J2-3588 - Allow a PropertySource to be added
rgoers Sep 5, 2022
bb0c70e
LOG4J2-3589 - Allow Plugins to be injected with the LoggerContext ref…
rgoers Sep 6, 2022
0218b1b
LOG4J2-3572 - Add getExlicitLevel method to LoggerConfig
rgoers Sep 7, 2022
becc80a
Fix Typos
rgoers Sep 7, 2022
58a8e48
Fix merge issue
rgoers Sep 8, 2022
43fcdd9
LOG4J2-3545 - Add correct manifest entries for OSGi to log4j-jcl
rgoers Sep 8, 2022
70de14f
LOG4J2-3589 - Avoid storing strong references to the LoggerContext
ppkarwasz Sep 4, 2022
e0c55ef
Add missing test scopes
ppkarwasz Sep 12, 2022
bf1af63
Add licence
ppkarwasz Sep 12, 2022
d848348
Fix typo
rgoers Sep 13, 2022
fb57f4e
Remove unused test dependencies
ppkarwasz Sep 22, 2022
7259451
Revert Maven `dependency:analyze` suggestions
ppkarwasz Sep 22, 2022
84d48ca
Add scopes to child POM dependencies
ppkarwasz Sep 16, 2022
eb23f0a
Sort POM dependency
ppkarwasz Sep 22, 2022
ed6495e
Replace `wiremock` with `wiremock-jre8`
ppkarwasz Sep 27, 2022
534c499
Sync SLF4J 1.x and 2.x bindings
ppkarwasz Sep 3, 2022
eb5f354
Bump tomcat-juli from 10.0.21 to 10.0.23
dependabot[bot] Jul 26, 2022
51dd8e8
Bump woodstox-core from 6.2.8 to 6.3.1
dependabot[bot] Sep 5, 2022
02b19de
Bump jackson2Version from 2.13.3 to 2.13.4
dependabot[bot] Sep 5, 2022
e5050de
Bump netty-all from 4.1.72.Final to 4.1.80.Final
dependabot[bot] Aug 29, 2022
13d30dd
Bump elasticsearch-rest-high-level-client from 7.17.5 to 7.17.6
dependabot[bot] Aug 25, 2022
73e2bf9
Bump log4j2-ecs-layout from 1.4.0 to 1.5.0
dependabot[bot] Sep 5, 2022
554e367
Bump jmdns from 3.5.7 to 3.5.8
dependabot[bot] Jul 5, 2022
5342da6
Bump junitJupiterVersion from 5.8.2 to 5.9.0
dependabot[bot] Jul 27, 2022
3ee8afb
Correct imports
ppkarwasz Sep 28, 2022
1688884
Fix JUnit dependency scope
ppkarwasz Sep 29, 2022
295308a
Bump json-unit from 2.32.0 to 2.35.0
dependabot[bot] May 28, 2022
9155d8a
Fix parsing errors on `null` delimiters
ppkarwasz Sep 6, 2022
f1c9991
Fix compile scope of `log4j-jndi-test`
ppkarwasz Sep 30, 2022
430ff52
[LOG4J2-3531] Parser configuration workaround for old Xerces
ppkarwasz Jun 8, 2022
cf32904
[LOG4J2-3531] Check if XInclude is supported
ppkarwasz Jun 9, 2022
776263e
Use `Integers` util class
ppkarwasz Sep 30, 2022
a7fe02b
Delegates plugin versions to ASF parent
ppkarwasz Sep 18, 2022
aeb8d27
Do not use modulepath in `log4j-api-test`
ppkarwasz Sep 30, 2022
7a088eb
Adapt snapshot repository id to ASF parent
ppkarwasz Sep 30, 2022
cd2f86e
Skip sample deployment
ppkarwasz Oct 1, 2022
ad4e0c1
[LOG4J2-1376] Define eid as String instead of int to allow for Oid
mneundorfer May 16, 2022
0ca7b42
[LOG4J2-3587] Add default enterprise ID value
ppkarwasz Sep 7, 2022
1704761
Remove SLF4J 1.8.x binding
ppkarwasz Sep 4, 2022
651be15
Rename `log4j-slf4j20-impl` to `log4j-slf4j2-impl`
ppkarwasz Sep 4, 2022
7015c1b
Reparent Spring Cloud samples
ppkarwasz Oct 2, 2022
4a1751e
Centralize plugin versions in main POM
ppkarwasz Oct 2, 2022
a2bf884
Remove `maven-toolchains-plugin`
ppkarwasz Oct 3, 2022
85a8010
Add missing `maven-scm-plugin` version
ppkarwasz Oct 3, 2022
4e22aa3
Bump maven-jxr-plugin from 3.2.0 to 3.3.0
dependabot[bot] Oct 3, 2022
2ded40d
Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0
dependabot[bot] Oct 3, 2022
e96495d
Bump checkstyle from 8.45.1 to 9.3
dependabot[bot] Oct 3, 2022
5786672
Bump maven-pmd-plugin from 3.16.0 to 3.19.0
dependabot[bot] Oct 3, 2022
55ccea4
Fix `revapi-maven-plugin` version
ppkarwasz Oct 3, 2022
9684b13
Sync `checkstyle.xml` with `release-2.x`
ppkarwasz Oct 3, 2022
67550d4
Fix JDBC and JPA benchmarks
ppkarwasz Oct 4, 2022
fc27d2e
Bump org.eclipse.persistence.jpa from 2.7.10 to 2.7.11
dependabot[bot] Sep 23, 2022
b1aae41
Use BOMs in `<dependencyManagement>`
ppkarwasz Sep 25, 2022
3077dad
Combine plugin model classes into common package
jvz Oct 8, 2022
7de2e92
Add Key Builder class and docs
jvz Oct 8, 2022
d7a74f1
Fix module-info.java PluginService reference
jvz Oct 8, 2022
a1073d8
Move config tests using scripts to log4j-script
jvz Oct 8, 2022
22143fc
Add explicit log4j-script dependency in kafka tests
jvz Oct 8, 2022
690688c
Add disruptor dependency for test using async logging
jvz Oct 9, 2022
8d80964
LOG4J2-3614 Harden InstantFormatter against delegate failures.
vy Oct 10, 2022
7923839
Adapt tests to Kafka 3.3.1
ppkarwasz Oct 12, 2022
0210e4f
Fix `log4j-api-test` JPMS encapsulation
ppkarwasz Oct 14, 2022
f02ee89
Fix `log4j-core-test` JPMS encapsulation
ppkarwasz Oct 14, 2022
485848e
Adapt `log4j-script` tests to the module path
ppkarwasz Oct 15, 2022
e5b8b3f
Fix variable naming inconsistency
jvz Oct 9, 2022
c5d5523
Add PluginEntry.Builder to simplify code generation
jvz Oct 15, 2022
3946b2f
Refactor LazyValue into subclasses
jvz Oct 16, 2022
f1ffe2a
Reset LoggerContextFactory after test class when using ContextSelecto…
jvz Oct 16, 2022
55dd712
Rollback JUnit Pioneer upgrade and othe test fixes
ppkarwasz Oct 16, 2022
bfe4597
Correct Kafka GitHub Actions configuration
ppkarwasz Oct 12, 2022
7bb33a0
Extract PropertyEnvironment interface from PropertiesUtil
jvz Oct 16, 2022
33bc180
Move internal log4j-api utils to util3 package
jvz Oct 16, 2022
c8773f0
Synchronize Kafka appender with `release-2.x`
ppkarwasz Oct 16, 2022
44a2f88
Bump `embedded-mongo.version` to 3.5.0
ppkarwasz Oct 16, 2022
26e5acb
Fix KafkaManagerProducerThreadLeakTest
ppkarwasz Oct 17, 2022
43b1e0b
LOG4J2-3584 Make StatusConsoleListener use SimpleLogger internally. (…
vy Oct 17, 2022
2d153ba
Remove no-op plugin execution
ppkarwasz Oct 18, 2022
45a8fae
Bump jna from 5.11.0 to 5.12.1
dependabot[bot] Oct 6, 2022
e0c8139
Bump embedded-ldap-junit from 0.8.1 to 0.9.0
dependabot[bot] Oct 16, 2022
b60c3f6
Bump activemq-broker from 5.17.1 to 5.17.2
dependabot[bot] Oct 6, 2022
d3d2778
Bump cassandra-driver-core from 3.11.2 to 3.11.3
dependabot[bot] Oct 6, 2022
ddc3b01
Bump junit-bom from 5.9.0 to 5.9.1
dependabot[bot] Oct 6, 2022
4207c7b
Bump json-unit from 2.35.0 to 2.36.0
dependabot[bot] Oct 6, 2022
6929879
Bump spring-boot.version from 2.6.7 to 2.7.5
dependabot[bot] Oct 21, 2022
38f7b49
Bump spring-framework-bom from 5.3.20 to 5.3.23
dependabot[bot] Oct 20, 2022
a68b6f8
Bump groovy-bom from 4.0.2 to 4.0.6
dependabot[bot] Oct 7, 2022
f5dd8c5
Bump spotbugs-maven-plugin from 4.7.0.0 to 4.7.2.1
dependabot[bot] Oct 10, 2022
2ffa8da
Bump netty-bom from 4.1.80.Final to 4.1.84.Final
dependabot[bot] Oct 12, 2022
7a7a8ba
Bump jackson-bom from 2.13.4 to 2.13.4.20221013
dependabot[bot] Oct 14, 2022
ea3ff37
Bump de.flapdoodle.embed.mongo from 3.5.0 to 3.5.1
dependabot[bot] Oct 19, 2022
463620b
Move exclusions from Jackson to Kubernetes
ppkarwasz Oct 21, 2022
e35b9c5
Bump actions/setup-python from 4.2.0 to 4.3.0
dependabot[bot] Oct 11, 2022
285cc7f
Bump actions/setup-java from 3.4.1 to 3.6.0
dependabot[bot] Oct 19, 2022
c467c24
Bump github/codeql-action from 2.1.22 to 2.1.28
dependabot[bot] Oct 19, 2022
bcd34d7
Bump actions/checkout from 3.0.2 to 3.1.0
dependabot[bot] Oct 22, 2022
7bd48bd
Adapt CodeQL to `master` branch
ppkarwasz Oct 22, 2022
97ffaae
Bump maven-core from 3.8.5 to 3.8.6
dependabot[bot] Oct 22, 2022
df8b69c
Bump mockito.version from 4.4.0 to 4.8.1
dependabot[bot] Oct 22, 2022
cea8e50
Remove `byte-buddy` from managed deps
ppkarwasz Oct 22, 2022
fa73797
Add check for transitive deps mismatch
ppkarwasz Oct 22, 2022
5570c3b
Extend JDK function interfaces where available
jvz Oct 22, 2022
9a7934a
Change dependabot schedule to monthly
ppkarwasz Oct 22, 2022
c518d1f
Bump OSS Scorecards from 1 to 2
garydgregory Oct 23, 2022
a0ec678
Revert "Bump OSS Scorecards from 1 to 2"
garydgregory Oct 23, 2022
012026e
Add per-test property source
ppkarwasz Oct 27, 2022
8c1753a
Enable apache-rat-plugin
ppkarwasz Oct 27, 2022
50458fd
Fixing HtmlLayoutTest when timezone has minutes (#1127)
adwsingh Oct 28, 2022
04ca410
Add `ServiceLoaderUtil` from `release-2.x`
ppkarwasz Apr 5, 2022
37941b6
Remove dependency on PropertiesUtil from `Strings`
ppkarwasz Oct 29, 2022
f7ea51a
Extract Cast::cast utility method
jvz Oct 22, 2022
37d2d5d
Flatten ThreadContextMap API
jvz Oct 26, 2022
61dae9f
Create AllocatePorts JUnit annotation
jvz Oct 30, 2022
9c27911
Update tests for JUnit 5
jvz Oct 30, 2022
4f27e13
Add assertions to give better error messages
jvz Oct 30, 2022
e562596
Add javadoc for context factory interfaces
jvz Oct 30, 2022
a6c8771
Note more exception possibilities
jvz Oct 30, 2022
d2240cd
Update javadoc link to proper class
jvz Oct 30, 2022
17485c1
Add more downcast checks in LoggerContext
jvz Oct 30, 2022
b177c3b
Update LowLevelLogUtil to use replaceable functions
jvz Oct 30, 2022
b373fa5
Add assertj to log4j-core-test module-info.java
jvz Oct 30, 2022
9bc2f46
Make ServiceRegistry resilient to recursive service loading
jvz Oct 31, 2022
2a03c3c
Catch ServiceConfigurationError in OSGi service loading
jvz Oct 31, 2022
aab23d5
[LOG4J2-3459] - Add LoggingSystemProvider SPI
jvz Oct 31, 2022
fe8795c
Add missing bit of commit
jvz Oct 31, 2022
af3ed3a
Revert "Add missing bit of commit"
jvz Nov 1, 2022
e013ad7
Revert "[LOG4J2-3459] - Add LoggingSystemProvider SPI"
jvz Nov 1, 2022
d986790
Revert "Catch ServiceConfigurationError in OSGi service loading"
jvz Nov 5, 2022
61d06a2
Revert "Make ServiceRegistry resilient to recursive service loading"
jvz Nov 5, 2022
0ee8042
Revert "Add assertj to log4j-core-test module-info.java"
jvz Nov 5, 2022
9fe638a
Revert "Update LowLevelLogUtil to use replaceable functions"
jvz Nov 5, 2022
554689f
Revert "Add more downcast checks in LoggerContext"
jvz Nov 5, 2022
2d6ee39
Revert "Update javadoc link to proper class"
jvz Nov 5, 2022
051c6cb
Revert "Note more exception possibilities"
jvz Nov 5, 2022
938d667
Revert "Add javadoc for context factory interfaces"
jvz Nov 5, 2022
ae55424
Revert "Add assertions to give better error messages"
jvz Nov 5, 2022
568b658
Revert "Flatten ThreadContextMap API"
jvz Nov 5, 2022
82c55e9
Merge util3 package back into util
jvz Nov 5, 2022
2e98d4e
Merge test util3 package back into util
jvz Nov 5, 2022
e96557e
LOG4J2-3626 - Flatten ThreadContextMap with default methods
jvz Nov 6, 2022
5f0aa94
Finish removal of util3 package
jvz Nov 6, 2022
7f7d541
Make LowLevelLogUtil use StatusLogger once available
jvz Nov 6, 2022
538e5f5
Refactor API initialization into common LoggingSystem class
jvz Nov 7, 2022
98e1d8f
Fix for LOG4J2-3627: PatternLayout: %xEx{ [ "short" | depth]} not wor…
theit Nov 7, 2022
d07a449
Make ServiceRegistry::getServices reentrant
jvz Nov 9, 2022
f556d8f
Clean up casts
jvz Nov 9, 2022
3b281d4
Refactor eager static caching of ThreadContext config
jvz Nov 9, 2022
bd22a6e
Use parameterized log messages
jvz Nov 9, 2022
6d581f1
Merge pull request #1136 from jvz/logging-system
jvz Nov 9, 2022
786476e
[LOG4J-3631] Fix `Configurator#setLevel` for internal classes
ppkarwasz Nov 9, 2022
5336280
Fix getting the right logger context.
garydgregory Jan 24, 2022
2322f19
No need to nest.
garydgregory Dec 17, 2021
5c9dc35
Add minimal checkstyle check
ppkarwasz Nov 9, 2022
65a31ea
Fix recent formatting problems
ppkarwasz Nov 9, 2022
bfff3d7
Fix CI configuration
ppkarwasz Nov 9, 2022
e7c1718
Fix remaining formatting problems
ppkarwasz Nov 9, 2022
8da9147
Move log4j-api property names to LoggingSystemProperties
jvz Nov 12, 2022
c6f0e1a
Fix formatting
jvz Nov 13, 2022
3b24330
Add MessageFactory and FlowMessageFactory to LoggingSystem
jvz Nov 13, 2022
7e2716b
Use lazy values for safer publication of thread context changes
jvz Nov 13, 2022
2d53312
Clean up static config in SimpleLogger/StatusLogger
jvz Nov 13, 2022
612c7f0
Merge pull request #1139 from jvz/simple-logger
jvz Nov 13, 2022
207e728
Use compareAndExchangeRelease with getAcquire
jvz Nov 18, 2022
2986332
Add Lazy::pure for pure reified values
jvz Nov 18, 2022
eea4b5d
Remove unused method
jvz Nov 19, 2022
287ee83
Centralize log4j-core properties in Log4jProperties
jvz Nov 19, 2022
e8dfc30
Fix test to use expected property name
jvz Nov 20, 2022
d237c32
[LOG4J2-3633] Disable flaky RollingAppenderCronOnceADayTest
jvz Nov 20, 2022
4a71470
fmt
jvz Nov 20, 2022
d3d76bd
Migrate more code to use centralized property constants
jvz Nov 21, 2022
4c6d229
Mark internal API as such
jvz Nov 21, 2022
f485e25
Remove unused `src/ide` folder.
vy Nov 25, 2022
82af633
LOG4J2-2400 Remove `RedisAppender` due to lack of user interest.
vy Nov 25, 2022
ffc82a4
Fix NPE in Log4jMarker
ppkarwasz Dec 25, 2022
3f00ca5
LOG4J2-3644 - Remove package scanning support
rgoers Dec 27, 2022
38b3eec
LOG4J2-2785 - Pattern Layout to abbreviate the name of all logger com…
rgoers Dec 30, 2022
fa33c5b
[LOG4J2-3645] Minimal changes to allow flow tracing with LogBuilder
ppkarwasz Dec 31, 2022
49290ca
Update copyright
jvz Jan 2, 2023
7b10ba6
LOG4J2-2297 - Allow java.sql.Time objects to format properly in MapMe…
rgoers Jan 2, 2023
8baedd7
Revert usage of artifical Clock in test as it causes occasional deadl…
rgoers Jan 2, 2023
3f05b48
LOG4J2-3357 - use time trigger was scheduled to fire instead of curre…
rgoers Jan 3, 2023
2a5fc1b
Fix style. Add nav item
rgoers Jan 3, 2023
2724620
Merge branch 'apache:master' into master
theit Jan 3, 2023
fd31f88
Bump tomcat-juli from 10.0.23 to 10.1.6
dependabot[bot] Mar 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
38 changes: 38 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# .asf.yaml documentation:
# https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
notifications:
commits: [email protected]
# issues and PRs send their own emails to devs
issues: [email protected]
pullrequests: [email protected]
jira_options: link label
github:
description: "Apache Log4j 2 is an upgrade to Log4j that provides significant improvements over its predecessor, Log4j 1.x, and provides many of the improvements available in Logback while fixing some inherent problems in Logback's architecture."
homepage: https://logging.apache.org/log4j/2.x/
labels:
- apache
- api
- java
- library
- log4j
- log4j2
- logging
protected_branches:
# Prevent force pushes to primary branches
master: {}
release-2.x: {}
27 changes: 0 additions & 27 deletions .dockerignore

This file was deleted.

14 changes: 14 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
mvnw.cmd eol=crlf
32 changes: 32 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
version: 2
updates:
- package-ecosystem: maven
directory: "/"
schedule:
interval: monthly
open-pull-requests-limit: 50
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
open-pull-requests-limit: 5
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: weekly
234 changes: 234 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,234 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache license, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the license for the specific language governing permissions and
# limitations under the license.

name: benchmark

on: [ workflow_dispatch ]

jobs:

build:

if: github.repository == 'apache/logging-log4j2'

runs-on: ubuntu-latest

steps:

- name: Checkout repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0

- name: Set up JDK 11
uses: actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc # 3.6.0
with:
distribution: temurin
java-version: 11
java-package: jdk
architecture: x64
cache: maven

- name: Build with Maven
shell: bash
run: |
./mvnw \
--show-version --batch-mode --errors --no-transfer-progress \
-DskipTests=true \
--projects log4j-perf \
--also-make \
package

- name: Upload built sources
uses: actions/upload-artifact@v2
with:
name: benchmarks.jar
path: log4j-perf/target/benchmarks.jar

run:

needs: build

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
jdk: [ 11, 17 ]
concurrency: [ 1, 8 ]
jmhCommand:
- "-t $CONCURRENCY -f 3 -wi 3 -w 10s -i 4 -r 20s -prof gc -prof perfnorm -rf json -rff results-layout-jtl.json '.*JsonTemplateLayoutBenchmark.*Jtl4EcsLayout'"
- "-t $CONCURRENCY -f 3 -wi 3 -w 10s -i 4 -r 20s -prof gc -prof perfnorm -rf json -rff results-util-instant-format.json '.*InstantFormatBenchmark.*'"

steps:

- name: Checkout repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0

- name: Download built sources
uses: actions/download-artifact@v2
with:
name: benchmarks.jar
path: log4j-perf/target

- name: Set up JDK ${{ matrix.jdk }}
if: matrix.jdk != 11
uses: actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc # 3.6.0
with:
distribution: temurin
java-version: ${{ matrix.jdk }}
java-package: jdk
architecture: x64
cache: maven

- name: Run benchmarks
timeout-minutes: 120
shell: bash
run: |
export CONCURRENCY=${{ matrix.concurrency }}
java \
-jar log4j-perf/target/benchmarks.jar \
${{ matrix.jmhCommand }}

- name: Stage benchmark results for commit
shell: bash
run: |

# Determine the artifact version.
set -x
./mvnw \
--batch-mode --quiet \
-DforceStdout=true \
-Dexpression=project.version \
help:evaluate \
| tee mvnw-project-version.out
echo

# Determine certain file path properties.
export REVISION=$(<mvnw-project-version.out)
export BRANCH_NAME=$(echo "$GITHUB_REF" | sed 's/refs\/heads\///g')
export INSTANT=$(date -u +%Y%m%d)
export OS_NAME=$(echo "${{ matrix.os }}" | sed 's/-latest//g')
export RUN_ID=$(printf "%020d" "$GITHUB_RUN_ID")

# Move and stage the result files.
for SRC_FILEPATH in results-*.json; do
export BENCHMARK_NAME=$(basename "$SRC_FILEPATH" | sed 's/^results-//g' | sed 's/\.json$//g')
export DST_FILEPATH="benchmark/results/$REVISION/$BRANCH_NAME-$INSTANT-$RUN_ID/$BENCHMARK_NAME-O$OS_NAME-J${{ matrix.jdk }}-C${{ matrix.concurrency }}.json"
mkdir -v -p $(dirname "$DST_FILEPATH")
mv -v "$SRC_FILEPATH" "$DST_FILEPATH"
git add "$DST_FILEPATH"
done

# Stash changes for commit.
git stash save
git clean -f

- name: Commit benchmark results
timeout-minutes: 1
shell: bash
run: |

# Checkout the results branch.
set -x
git fetch origin gh-pages
git checkout -B gh-pages origin/gh-pages

# Stage the stashed changes.
# (`show + apply` is preferred over `pop`, since the latter fails if file already exists.)
git stash show -p | git apply
git add benchmark/results
git status --porcelain
test $(git status --porcelain | wc -l) -gt 0 || exit 0

# Commit changes.
git config user.name github-actions
git config user.email [email protected]
git commit -a -m "Add benchmark results for ${{ runner.os }}, JDK ${{ matrix.jdk }}, and concurrency ${{ matrix.concurrency }}."

# Push changes in a loop to allow concurrent repository modifications.
export RETRY=0
while [ 1 ]; do
set +e
git push origin gh-pages 2>&1 | tee git-push.out
if [ $? -eq 0 ]; then
exit 0
else
set -e
let RETRY+=1
echo "retry #$RETRY"
git pull -r origin gh-pages
fi
done

index:

runs-on: ubuntu-latest
needs: run

steps:

- name: Checkout repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
with:
ref: gh-pages

- name: Setup Python 3
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # 4.3.0
with:
python-version: 3.x

- name: Index benchmark results
timeout-minutes: 1
shell: bash
run: |

# Configure the git user.
git config user.name github-actions
git config user.email [email protected]

# Push changes in a loop to allow concurrent repository modifications.
export RETRY=0
export INDEX_FILEPATH=benchmark/results/index.json
while [ 1 ]; do

# Generate the index file.
python -c '\
import json, os, re;\
filepaths=[re.sub("^benchmark/results/", "", os.path.join(root,filename)) \
for (root, dirs, filenames) in os.walk("benchmark/results") \
for filename in filenames]; \
filepaths.remove("index.json"); \
print(json.dumps(filepaths))' \
>"$INDEX_FILEPATH"

# Exit if there are no changes, that is, a concurrent job has indexed all results.
git diff --exit-code "$INDEX_FILEPATH" && exit 0

# Commit the index file.
git add "$INDEX_FILEPATH"
git commit "$INDEX_FILEPATH" -m "Update benchmark results index."

# Push the index file.
set +e
git push origin gh-pages 2>&1 | tee git-push.out
if [ $? -eq 0 ]; then
exit 0
else
set -e
let RETRY+=1
echo "retry #$RETRY"
git pull -r origin gh-pages
fi

done
Loading