Skip to content

Commit c9fbc53

Browse files
committed
fix: use normalized form for new configuration property
1 parent 62e802d commit c9fbc53

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

log4j-core/src/main/java/org/apache/logging/log4j/core/util/internal/instant/InstantPatternFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
public interface InstantPatternFormatter extends InstantFormatter {
4141

4242
boolean LEGACY_FORMATTERS_ENABLED =
43-
"legacy".equalsIgnoreCase(PropertiesUtil.getProperties().getStringProperty("log4j2.instant.formatter"));
43+
"legacy".equalsIgnoreCase(PropertiesUtil.getProperties().getStringProperty("log4j2.instantFormatter"));
4444

4545
String getPattern();
4646

src/site/antora/modules/ROOT/partials/manual/systemproperties/properties-log4j-core-misc.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ link:../javadoc/log4j-api/org/apache/logging/log4j/message/FlowMessageFactory.ht
262262
implementation to be used by all loggers.
263263
// end::flow-tracing[]
264264
265-
[id=log4j2.instant.formatter]
266-
== `log4j2.instant.formatter`
265+
[id=log4j2.instantFormatter]
266+
== `log4j2.instantFormatter`
267267
268268
[cols="1h,5"]
269269
|===

0 commit comments

Comments
 (0)