Clean Logs
by triphora
Clean Logs lets server owners and players hide chosen lines from the game log, matched by phrase or by regex, while the filtered lines stay visible in the console.
What it does
Clean Logs filters the log output using user-defined options. Each rule can match a plain phrase or a regular expression, and any line that matches is kept out of the printed log. Lines that do not match print as usual, so the filter only removes what the author chose to hide.
The code is based on Shut Up Console, which the author forked to add the new behavior. Shut Up Console had one complaint the author wanted fixed: filtered lines were dropped without any trace. Clean Logs can be set to print a line that was filtered out, or to turn that printing off. A separate config option turns the printing off, while it stays enabled by default.
The mod targets versions from 1.17 onward, and the author added the filtering features for that range. Files are published for Fabric and Quilt, covering 1.14 – 1.20.1 across 26 release versions. Either side can run it, and neither needs it, so it works on a client alone, a server alone or both. The mod is released under the GNU Lesser General Public License v3.0 only and is open source, with source code and an issue tracker linked from the listing.
Key features
Phrase and regex filters
Rules can match a plain phrase or a regular expression, so both exact messages and patterns can be removed from the log.
Show filtered lines
Filtered lines can still print to the console, so a hidden message is not lost entirely when it is needed for debugging.
Silent filtering option
A config option turns off the printing of filtered lines, which keeps the console clear when the rules are trusted.
User-defined rules
The filter list is set by the player or server owner, so each installation hides only the lines it names.
Compatibility
Latest build for each game version and loader.
1.20.x2 of 2 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Console Filter is a Fabric, Forge and NeoForge mod with a Creative Commons Attribution Non Commercial Share Alike 4.0 license, not open source, and it covers 1.20.1 – 26.2. Log Filter is open source under the MIT License, with files for 1.21 – 1.21.1 on Fabric, Forge and NeoForge. Clean Logs covers 1.14 – 1.20.1 on Fabric and Quilt only and is open source under the GNU Lesser General Public License v3.0 only.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Clean Logs | Fabric and Quilt | 1.14 – 1.20.1 | Client or server, optional | 2022-06-17 |
| Console Filter | Fabric, Forge and NeoForge | 1.20.1 – 26.2 | Client or server, optional | 2026-07-01 |
| Log Filter | Fabric, Forge and NeoForge | 1.21 – 1.21.1 | Client or server, optional | 2024-10-13 |
Questions
Which loaders does Clean Logs support?
Does Clean Logs need to be installed on the server?
Can filtered lines still be seen?
In the catalog
Clean Logs is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from triphora
Similar mods
What the author says
Clean Logs will filter out logging based on user-defined options, either by a phrase method or a regex method. This code is based upon that of Shut Up Console. While the mod works on 1.17+, I wanted to add a new feature. Also, it had seemed to be abandoned, with the source URL being simply gone. Thus, here's Clean…
Official listing
- Modrinth page
- modrinth.com/mod/clean-logs
- Owner
- triphora
- Published
- 2021-10-16
- Updated on Modrinth
- 2022-06-17
- Facts verified
- 2026-10-15