This is an automated email from the ASF dual-hosted git repository.

pkarwasz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/main by this push:
     new e0993aeaf2 Fix list of runtime lookups
e0993aeaf2 is described below

commit e0993aeaf2d08d6757e244178c1e152590832e1e
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 3345faba33..1d89d394c9 100644
--- a/src/site/antora/modules/ROOT/pages/manual/appenders.adoc
+++ b/src/site/antora/modules/ROOT/pages/manual/appenders.adoc
@@ -93,18 +93,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 8e97eace1f..63d2a07d09 100644
--- a/src/site/antora/modules/ROOT/pages/manual/configuration.adoc
+++ b/src/site/antora/modules/ROOT/pages/manual/configuration.adoc
@@ -932,6 +932,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.

Reply via email to