Log Filter
by LMaxRouterCN
Log Filter, by LMaxRouterCN, is a Forge mod that drops unwanted lines from the Minecraft log before they reach the console or log files.
What it does
The mod hooks into log output before Minecraft writes it to the console and log files, then decides for each entry whether it is kept. Developers and players use it to cut down spam, so critical errors stand out and disk space is saved. Filtering can match by regular expression, by exact whole-line text (case-sensitive), by logger name, by source class or mod package, and by log level from TRACE through FATAL. Hierarchical filtering applies these together.
Rules are set in a configuration file that the mod generates on first launch, so a single start of the game creates it. A whitelist mode lets exclusion rules be written so that important entries, such as critical errors, are never removed by accident. Matching rules remove a line even when other rules would match it. A built-in deduplication cache avoids processing identical messages again and again.
Log Filter runs on client and server, so the server and every player need it. Files are published for Forge only, for 1.20.1, and the mod is open source under the Mozilla Public License 2.0. Source code and an issue tracker are public. Developers who want to build it themselves find the compiled JAR in build/libs.
Key features
Regex filtering
Regular expressions match log content, so specific messages can be removed with precise patterns.
Exact match filtering
Whole lines of text can be removed when they match a given string exactly.
Logger and class filtering
Entries can be dropped by logger name, source class or mod package name, with hierarchical rules.
Log level filtering
Blocking TRACE or DEBUG output takes one setting, and levels from TRACE to FATAL are all available.
Whitelist mode
Exclusion rules protect important entries so that critical errors are not deleted by mistake.
Deduplication cache
A built-in cache skips logs that have already been processed, avoiding repeated work on the same messages.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
SilenceVS runs on the server alone, so players can join without installing it. It is open source under the MIT License and published for Forge 1.20.1. Console Filter is not open source, runs on Fabric, Forge and NeoForge across 1.20.1 – 26.2, and works on either side, and neither needs it. Log Filter, by contrast, needs both the server and every player, is open source and is limited to Forge 1.20.1.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Log Filter | Forge | 1.20.1 | Client and server | 2026-10-10 |
| SilenceVS | Forge | 1.20.1 | Server required, client optional | 2025-08-18 |
| Console Filter | Fabric, Forge and NeoForge | 1.20.1 – 26.2 | Client or server, optional | 2026-07-01 |
Questions
Does Log Filter need to be installed on both sides?
Which Minecraft version does Log Filter support?
How are the filtering rules set?
More from LMaxRouterCN
What the author says
A lightweight log filtering mod designed to reduce spam in the console and log files, allowing developers and players to focus on critical errors and save disk space. Logs are filtered only when their content is exactly identical (case-sensitive).
Official listing
- Modrinth page
- modrinth.com/mod/log-filter1
- Owner
- LMaxRouterCN
- Published
- 2026-01-23
- Updated on Modrinth
- 2026-10-10
- Facts verified
- 2026-10-15
