Log Deduplicator

Quick rating

Community listing page, reviews here may not be monitored by the author.

Log Deduplicator

No reviews yet

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

QoL & Tweaks
Performance & Optimization
Mod Loaders
NeoForge
Fabric
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
log_deduplicator-1.21.1-Neoforge-1.0.3.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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.

  • Thresholds per log level - set how many duplicates are allowed before suppression kicks in (default: 5 for errors, 20 for info)
  • Time windows - control how long messages are grouped together before the count resets
  • Fuzzy matching - groups messages that only differ in numbers, coordinates, UUIDs, or timings
  • Normalization - toggle whether coordinates, UUIDs, memory addresses, and timing values get normalized before comparing
  • Logger filters - whitelist or blacklist specific loggers
  • System stream dedup - deduplicate System.out/err with multiline detection for stack traces
  • Stack trace cleaning - remove duplicate frames, optionally strip framework internals, limit max depth

Supported platforms

  • NeoForge 1.21.1
  • Fabric 1.21.1

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

Screenshots

Gallery

  • thresh.png
    thresh.png thresh.png
  • time.png
    time.png time.png
  • similarity.png
    similarity.png similarity.png
  • normal.png
    normal.png normal.png
  • streams.png
    streams.png streams.png
  • stacktraace.png
    stacktraace.png stacktraace.png
  • general.png
    general.png general.png

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~11,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works