HomeJavaModsLog Deduplicator
Log Deduplicator
ModsJava

Log Deduplicator

by Project8gbDeRam · on CurseForge

Cleans up your messy logs by suppressing repeated messages and trimming bloated stack traces. No more stutters, lag and scrolling through 10,000 identical…

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.1 · Fabric⬇ Download for 1.21.1 · NeoForge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Log Deduplicator — screenshot 1Log Deduplicator — screenshot 2Log Deduplicator — screenshot 3Log Deduplicator — screenshot 4Log Deduplicator — screenshot 5Log Deduplicator — screenshot 6Log Deduplicator — screenshot 7

Log Deduplicator

If you've ever opened your console and seen the same error repeated thousands of times, this mod is for you. Log Deduplicator detects repeated log messages and suppresses them after a configurable threshold, so your console stays readable and your log files don't balloon to hundreds of megabytes.

This is especially useful for large modpacks where broken mods or misconfigured setups can spam the log hard enough to cause stutters and lag. Less log spam means less I/O, less CPU time spent formatting and writing log lines, and a smoother game overall.

When a message gets suppressed, you'll still see a summary like [suppressed 482 times over 12.3s] so nothing is silently lost.

How it works

The mod intercepts log messages at every level: Log4j, java.util.logging, and System.out/err. It recognizes that messages like Entity at (1.0, 2.0, 3.0) and Entity at (50.0, 64.0, -20.0) are really the same message with different numbers, so it groups them together instead of treating each one as unique.

It also cleans up stack traces by removing duplicate frames, so when the same exception gets logged repeatedly you get the useful information without all the noise.

Performance

Unlike similar mods that rely on regex to match patterns, Log Deduplicator uses a hand-written single-pass scanner built specifically for Minecraft log formats. It walks each message once and handles coordinates, UUIDs, memory addresses, and timing values natively without creating any regex Matcher objects or intermediate strings. In benchmarks this is roughly 10x faster than the regex approach for message normalization, and about 2x faster end-to-end for the full dedup pipeline. The mod also uses a lock-free concurrent cache instead of a synchronized map, so it won't bottleneck your server under heavy logging from multiple threads.

Config

Everything is configurable through an in-game screen (requires YACL) or by editing config/log_deduplicator.toml.

Supported platforms

Support on Discord

If you'd like to support me and the development of my mods, I recommend trying out BisectHosting. Use code "project8gbderam" to get 25% off your first month of a gaming server for new customers. They offer 24/7 support and lightning-fast response times, ensuring you're in great hands and providing exceptional assistance for all your gaming needs. https://www.bisecthosting.com/project8gbderam

Bisect

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more