Skip to content

Commit c934a48

Browse files
ppkarwaszvy
andauthored
Apply review suggestions (1)
Co-authored-by: Volkan Yazıcı <[email protected]>
1 parent d160709 commit c934a48

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/site/antora/modules/ROOT/pages/manual/filters.adoc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ start
121121
group LoggerConfig
122122
repeat
123123
124-
:LoggerConfig.log();
124+
:LoggerConfig#log();
125125
126126
if (Apply logger filter) then (DENY)
127127
#pink:Discard;
@@ -155,7 +155,7 @@ until it reaches the logger that references the chosen appender.
155155
start
156156
group AppenderControl
157157
158-
:AppenderControl.callAppender();
158+
:AppenderControl#callAppender();
159159
160160
if (Is less severe then appender reference level?) then (yes)
161161
#pink:Discard;
@@ -192,7 +192,7 @@ of the appender reference.
192192
start
193193
group Appender
194194
195-
:Appender.append();
195+
:Appender#append();
196196
197197
if (Apply appender filter) then (DENY)
198198
#pink:Discard;
@@ -235,7 +235,7 @@ You should rather configure the filtering in one of the previous stages.
235235
[#example-configuration-file]
236236
=== Example configuration file
237237
238-
The following example shows the order in which filters are evaluated:
238+
The following example configuration file employs filters at all possible stages to explain their evaluation order:
239239
240240
[tabs]
241241
====
@@ -270,8 +270,8 @@ include::example$manual/filters/filters.properties[lines=17..-1]
270270
271271
<1> Global filter
272272
<2> Logger `level` attribute (it is skipped if the event matches the global filter)
273-
<3> Filter of the "org.example" logger
274-
<4> Filter of the root logger (it is the parent of the "org.example" logger)
273+
<3> Filter of the `org.example` logger
274+
<4> Filter of the root logger (it is the parent of the `org.example` logger)
275275
<5> Appender reference `level` attribute
276276
<6> Filter of the appender reference
277277
<7> Filter of the appender
@@ -366,7 +366,7 @@ Log4j Core provides the following filters out-of-the-box.
366366
[#timestamp-filters]
367367
=== Timestamp filters
368368
369-
Timestamp filters use the timestamp of log events to decide whether to log them or not.
369+
Timestamp filters use the timestamp of log events to decide whether to accept them or not.
370370
371371
[#BurstFilter]
372372
==== `BurstFilter`
@@ -485,7 +485,7 @@ xref:plugin-reference.adoc#org-apache-logging-log4j_log4j-core_org-apache-loggin
485485
[#level-filters]
486486
=== Level filters
487487
488-
The following filters allow you to filter log events based on their level.
488+
The following filters allow you to filter log events based on their xref:manual/customloglevels.adoc[levels].
489489
490490
[#LevelMatchFilter]
491491
==== `LevelMatchFilter`
@@ -542,7 +542,7 @@ Besides the common configuration attributes, the `LevelRangeFilter` supports the
542542
[TIP]
543543
====
544544
Make sure not to invert the bounds of the range.
545-
Starting from the smallest level, the Log4j API defines: `OFF`, `FATAL`, `ERROR`, `WARN`, `INFO`, `DEBUG`, `TRACE` and `ALL`.
545+
Starting from the smallest level, xref:manual/customloglevels.adoc[the Log4j API defines]: `OFF`, `FATAL`, `ERROR`, `WARN`, `INFO`, `DEBUG`, `TRACE` and `ALL`.
546546
====
547547
548548
xref:plugin-reference.adoc#org-apache-logging-log4j_log4j-core_org-apache-logging-log4j-core-filter-LevelRangeFilter[📖 Plugin reference for `LevelRangeFilter`]
@@ -1167,7 +1167,7 @@ If set to `0`, polling is disabled.
11671167
11681168
|===
11691169
1170-
[CAUTION]
1170+
[WARNING]
11711171
====
11721172
Unlike other map filters that have a configurable matching mode,
11731173
this filter always uses the <<matching-mode-or,OR>> matching mode.
@@ -1314,7 +1314,7 @@ For the remaining filters, only these bindings are available:
13141314
13151315
| logEvent
13161316
| link:../javadoc/log4j-core/org/apache/logging/log4j/core/LogEvent.html[`LogEvent`]
1317-
| The LogEvent being processed.
1317+
| The log event being processed.
13181318
13191319
| substitutor
13201320
| link:../javadoc/log4j-core/org/apache/logging/log4j/core/lookup/StrSubstitutor.html[`StrSubstitutor`]

0 commit comments

Comments
 (0)