Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
86c96b2
Fixed TypeConverters#LevelConverter javadoc (#3359)
jethomas-tsi Feb 11, 2025
8c0e3c6
Improve configuration error handling of HttpAppender (#3438)
Suvrat1629 Feb 16, 2025
12385df
Moved changelog to .2.x.x per PR Code Review (#3359)
jethomas-tsi Feb 16, 2025
85c6c9b
Publish build scans to develocity.apache.org (#3396)
clayburn Feb 18, 2025
fef8af8
Fix null termination advice for SOA and JTL
vy Feb 18, 2025
55b799b
Bump org.apache.logging:logging-parent from 11.3.0 to 12.0.0 in /log4…
dependabot[bot] Feb 18, 2025
382ea9b
Run reproducibility check after each deployment
ppkarwasz Oct 17, 2024
3846632
Run integration tests after each deployment (#3105)
ppkarwasz Feb 18, 2025
2b9a15f
Fix revision to `2.25.0-SNAPSHOT`
ppkarwasz Feb 18, 2025
f203d86
Fix Nexus URL for snapshots
ppkarwasz Feb 18, 2025
bd4607c
Update `org.apache.cassandra:cassandra-all` to version `3.11.19` (#3440)
asf-rm Feb 18, 2025
92d6efb
Activate `bom` profile in `log4j-bom`
ppkarwasz Feb 19, 2025
2202b58
Add Nexus URL argument to `generate-email.sh` per `logging-parent` up…
vy Feb 19, 2025
c3fa946
Document `maven-compiler-plugin` override
vy Feb 19, 2025
ae77c09
Update `org.mongodb:bson` to version `5.3.1` (#3409)
asf-rm Feb 19, 2025
0891d6b
Fix formatting of `s` pattern (#3469)
ppkarwasz Feb 19, 2025
eefffd9
Update `co.elastic.clients:elasticsearch-java` to version `8.17.2` (#…
asf-rm Feb 19, 2025
71a03d7
Update `commons-codec:commons-codec` to version `1.18.0` (#3421)
asf-rm Feb 19, 2025
f98bff4
Bump commons-logging:commons-logging in /log4j-parent (#3445)
dependabot[bot] Feb 19, 2025
5aac7d6
Update `org.openrewrite.recipe:rewrite-logging-frameworks` to version…
asf-rm Feb 19, 2025
07590bc
Add `collectionName` and `databaseName` attributes to `MongoDbProvide…
vy Feb 20, 2025
14adc25
Add changelog entry (#3066)
vy Feb 21, 2025
9bc402e
Update `fast-xml-parser` to version `5.0.6` (#3487)
asf-rm Feb 24, 2025
bf6ef23
Update `org.junit:junit-bom` to version `5.12.0` (#3488)
asf-rm Feb 24, 2025
6f4fab9
Update `org.awaitility:awaitility` to version `4.3.0` (#3489)
asf-rm Feb 24, 2025
dde535f
Update `org.slf4j:slf4j-nop` to version `2.0.17` (#3496)
asf-rm Feb 26, 2025
56d14a4
Update `org.slf4j:slf4j-nop` to version `2.0.17` (#3490)
asf-rm Feb 26, 2025
ca14c95
Update `org.slf4j:slf4j-api` to version `2.0.17` (#3492)
asf-rm Feb 26, 2025
2d08264
Update `org.slf4j:slf4j-api` to version `2.0.17` (#3497)
asf-rm Feb 26, 2025
b7cccc1
Update `org.slf4j:slf4j-api` to version `2.0.17` (#3498)
asf-rm Feb 26, 2025
727c992
Update `org.slf4j:slf4j-api` to version `2.0.17` (#3499)
asf-rm Feb 26, 2025
4962470
Fixed TypeConverters#LevelConverter javadoc (#3359)
jethomas-tsi Feb 11, 2025
e8a9c5a
Moved changelog to .2.x.x per PR Code Review (#3359)
jethomas-tsi Feb 16, 2025
3519659
Merge remote-tracking branch 'jwt007/bugfix/LOG4J-3359' into bugfix/L…
JWT007 Feb 27, 2025
90b483c
Fixed TypeConverters#LevelConverter javadoc (#3359)
jethomas-tsi Feb 11, 2025
5c6dc49
Moved changelog to .2.x.x per PR Code Review (#3359)
jethomas-tsi Feb 16, 2025
f1c6ef2
Merge remote-tracking branch 'jwt007/bugfix/LOG4J-3359' into bugfix/L…
JWT007 Feb 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,17 @@ public Integer convert(final String s) {
}

/**
* Converts a {@link String} into a Log4j {@link Level}. Returns {@code null} for invalid level names.
* Converts a {@link String} into a Log4j {@link Level}.
*/
@Plugin(name = "Level", category = CATEGORY)
public static class LevelConverter implements TypeConverter<Level> {
/**
* {@inheritDoc}
* @param s the string to convert
* @return the resolved level
* @throws NullPointerException if the given value is {@code null}.
* @throws IllegalArgumentException if the given argument is not resolvable to a level
*/
@Override
public Level convert(final String s) {
return Level.valueOf(s);
Expand Down
10 changes: 10 additions & 0 deletions src/changelog/2.25.0/3359_fix-javadoc.xml
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="3359" link="https://github.com/apache/logging-log4j2/issues/3359"/>
<description format="asciidoc">
TypeConverters convert for "Level" incorrectly documented behaviour for invalid value - updated javadoc.
</description>
</entry>
Loading