LogDeduplicationLevel
: string
in package
How aggressively {@see DeduplicatingLogger} collapses repeated log messages, configurable per project via guides.xml's `log-deduplication` attribute.
Table of Contents
Cases
- Exact = 'exact'
- Deduplicate only an exact repeat: same level, message and context.
- Message = 'message'
- Deduplicate by level and message alone, ignoring context. Also collapses the same problem recurring on different pages, at the cost of losing per-page context (e.g. which of several pages referencing a missing image gets named in the log) for anything not already baked into the message text itself.
- None = 'none'
- Never deduplicate; every call reaches the underlying logger.
Cases
None
Never deduplicate; every call reaches the underlying logger.
Exact
Deduplicate only an exact repeat: same level, message and context.
Catches a warning firing once per configured output format for the same page, but not the same problem recurring on different pages.
Message
Deduplicate by level and message alone, ignoring context. Also collapses the same problem recurring on different pages, at the cost of losing per-page context (e.g. which of several pages referencing a missing image gets named in the log) for anything not already baked into the message text itself.