-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Removed @PluginAttribute 'patternFlags' argument from @PluginFactory for RegexFilter. (#3086) #3463
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
f0ec0b8
Removed 'patternFlags' @PluginAttribute from RegexFilter @PluginFacto…
jethomas-tsi 8c0e3c6
Improve configuration error handling of HttpAppender (#3438)
Suvrat1629 dd7b6d3
Updates per PR Code Review (#3086)
jethomas-tsi 29e472b
A few more improvements + added tests (#3086)
jethomas-tsi 85c6c9b
Publish build scans to develocity.apache.org (#3396)
clayburn fef8af8
Fix null termination advice for SOA and JTL
vy 55b799b
Bump org.apache.logging:logging-parent from 11.3.0 to 12.0.0 in /log4…
dependabot[bot] 382ea9b
Run reproducibility check after each deployment
ppkarwasz 3846632
Run integration tests after each deployment (#3105)
ppkarwasz 2b9a15f
Fix revision to `2.25.0-SNAPSHOT`
ppkarwasz f203d86
Fix Nexus URL for snapshots
ppkarwasz bd4607c
Update `org.apache.cassandra:cassandra-all` to version `3.11.19` (#3440)
asf-rm 92d6efb
Activate `bom` profile in `log4j-bom`
ppkarwasz 2202b58
Add Nexus URL argument to `generate-email.sh` per `logging-parent` up…
vy c3fa946
Document `maven-compiler-plugin` override
vy ae77c09
Update `org.mongodb:bson` to version `5.3.1` (#3409)
asf-rm 0891d6b
Fix formatting of `s` pattern (#3469)
ppkarwasz eefffd9
Update `co.elastic.clients:elasticsearch-java` to version `8.17.2` (#…
asf-rm 71a03d7
Update `commons-codec:commons-codec` to version `1.18.0` (#3421)
asf-rm f98bff4
Bump commons-logging:commons-logging in /log4j-parent (#3445)
dependabot[bot] 5aac7d6
Update `org.openrewrite.recipe:rewrite-logging-frameworks` to version…
asf-rm 07590bc
Add `collectionName` and `databaseName` attributes to `MongoDbProvide…
vy 14adc25
Add changelog entry (#3066)
vy 9bc402e
Update `fast-xml-parser` to version `5.0.6` (#3487)
asf-rm bf6ef23
Update `org.junit:junit-bom` to version `5.12.0` (#3488)
asf-rm 6f4fab9
Update `org.awaitility:awaitility` to version `4.3.0` (#3489)
asf-rm dde535f
Update `org.slf4j:slf4j-nop` to version `2.0.17` (#3496)
asf-rm 56d14a4
Update `org.slf4j:slf4j-nop` to version `2.0.17` (#3490)
asf-rm ca14c95
Update `org.slf4j:slf4j-api` to version `2.0.17` (#3492)
asf-rm 2d08264
Update `org.slf4j:slf4j-api` to version `2.0.17` (#3497)
asf-rm b7cccc1
Update `org.slf4j:slf4j-api` to version `2.0.17` (#3498)
asf-rm 727c992
Update `org.slf4j:slf4j-api` to version `2.0.17` (#3499)
asf-rm d8cbe77
Bugfix/log4 j 3359 2 (#3502)
JWT007 1da1d7e
Update `org.apache.groovy:groovy-bom` to version `4.0.26` (#3506)
asf-rm 8d05a73
Fixed AbstractFilterable#isFiltered javadoc (#3300) (#3456)
JWT007 ffbdda5
Removed 'patternFlags' @PluginAttribute from RegexFilter @PluginFacto…
jethomas-tsi d5d7aed
Updates per PR Code Review (#3086)
jethomas-tsi 6e7e82d
A few more improvements + added tests (#3086)
jethomas-tsi 0ac7478
Merge remote-tracking branch 'jwt007/bugfix/LOG4J-3086' into bugfix/L…
JWT007 283dcff
Fix validation behavior in RegexFilter (#3086)
JWT007 6f1358c
Fixed a reverse logic check in a validation (#3086)
JWT007 c7f89d8
Fix Spotless errors (#3086)
JWT007 d6b5574
Fix RegexFilterTest (#3086)
JWT007 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/changelog/2.25.0/3086_change_RegexFilter_remove_patternflags_from_PluginFactory.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://logging.apache.org/xml/ns" | ||
xsi:schemaLocation="https://logging.apache.org/xml/ns https://logging.apache.org/xml/ns/log4j-changelog-0.xsd" | ||
type="fixed"> | ||
<issue id="3086" link="https://github.com/apache/logging-log4j2/issues/3086"/> | ||
<description format="asciidoc"> | ||
Removed 'patternFlags' @PluginAttribute from RegexFilter @PluginFactory createFilter. | ||
</description> | ||
</entry> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whenever we need to modify a factory method, we usually create a
Builder
class instead.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ppkarwasz I significantly reworked this one - please review if OK
I reworked it so that all config parameters are accessible via getters (i.e. 'regex') - this sort of comes from my own prroblems with these classes where config parameters are not accessible later making it impossible to see how the element was configured (i.e. to recreate config at runtime). If this is OK I would probably make some new tickets to do the same for some other configuration items.