Skip to content

Commit 28f3cec

Browse files
Addresses #3266 (comment)
1 parent 90b9752 commit 28f3cec

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

examples/logs-advanced/README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,3 @@ cargo run --features="spec_unstable_logs_enabled"
1515
Notice:
1616
1. only the error log is enriched with the `enriched: true` attribute
1717
2. the enrichment process only happens for the error log, without unnecessary work
18-
19-
## Extra credit
20-
21-
Tweak the `EnrichmentProcessor` by removing the implementation of `event_enabled`.
22-
The default implementation always accepts the event from the wrapped processor, even
23-
when it's set up to ignore a specific event. As a consequence, the enrichment
24-
processor will act on every log record, regardless of whether they are ultimately
25-
ignored. As a consequence, the filtering happening upstream will not be respected,
26-
causing info logs being enriched (with the resulting unnecessary work).

0 commit comments

Comments
 (0)