This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/2.x by this push:
new 2d5f5828e6 Fix list of runtime lookups
2d5f5828e6 is described below
commit 2d5f5828e6996ac330695ad35f2a713372d895d2
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Thu Jul 25 12:18:11 2024 +0200
Fix list of runtime lookups
---
src/site/antora/modules/ROOT/pages/manual/appenders.adoc | 9 +++++++--
src/site/antora/modules/ROOT/pages/manual/configuration.adoc | 1 +
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/site/antora/modules/ROOT/pages/manual/appenders.adoc
b/src/site/antora/modules/ROOT/pages/manual/appenders.adoc
index 12b25a09fa..de0352205a 100644
--- a/src/site/antora/modules/ROOT/pages/manual/appenders.adoc
+++ b/src/site/antora/modules/ROOT/pages/manual/appenders.adoc
@@ -91,18 +91,23 @@ so can contain escaped `$$+{...}+` expressions.
| <<KafkaAppender,`KafkaAppender`>>
| <<KafkaAppender-attr-key,`key`>>
| Log event
-| xref:manual/lookups.adoc#event-context[_log event_]
+| xref:manual/lookups.adoc#global-context[_global_]
| <<NoSQLAppender,`NoSQLAppender`>>
| <<NoSqlAppender-element-keyValuePairs,`KeyValuePair/value`>>
| Log event
-| xref:manual/lookups.adoc#event-context[_log event_]
+| xref:manual/lookups.adoc#global-context[_global_]
| <<PropertiesRewritePolicy,`PropertiesRewritePolicy`>>
| <<PropertiesRewritePolicy-element-properties,`Property/value`>>
| Log event
| xref:manual/lookups.adoc#global-context[_global_]
+| <<Routes,`Routes`>>
+| `pattern`
+| Log event
+| xref:manual/lookups.adoc#event-context[_log event_]
+
| <<RollingFileAppender,`RollingFileAppender`>>
| <<RollingFileAppender-attr-filePattern,`filePattern`>>
| Rollover
diff --git a/src/site/antora/modules/ROOT/pages/manual/configuration.adoc
b/src/site/antora/modules/ROOT/pages/manual/configuration.adoc
index e7264603ab..bb675466e7 100644
--- a/src/site/antora/modules/ROOT/pages/manual/configuration.adoc
+++ b/src/site/antora/modules/ROOT/pages/manual/configuration.adoc
@@ -924,6 +924,7 @@ The list of attributes that support runtime property
substitution is:
* The `value` attribute of <<logger-elements-properties,nested `Property`
elements>> of a logger configuration.
* The
xref:manual/pattern-layout.adoc#plugin-attr-pattern[`pattern`] attribute of
the xref:manual/pattern-layout.adoc[].
+This attribute evaluates lookups in the
xref:manual/lookups.adoc#event-context[context of the current log event].
* Event template attributes of xref:manual/json-template-layout.adoc[].
See
xref:manual/json-template-layout.adoc#property-substitution-in-template[property
substitution in JSON Template Layout]
for more details.