Log Begone — Guide
Getting Started
Nothing needs to be crafted or configured in-game - Log Begone is pure configuration:
- Run the game or server once with the mod installed. On first launch it creates
logbegone.jsonin the instance'sconfigfolder, pre-filled with its default filters. - Spot a noisy line in your console or log file that you want gone.
- Open
config/logbegone.jsonin any text editor and add a distinctive part of that line to thephraseslist (or a pattern to theregexlist). - Start the game or server again. The filter list is read at startup - from then on, every line matching your entries is silently dropped.
The file is plain JSON, so entries can be added, edited or removed freely at any time; changes take effect on the next start.
Default Filters
Log Begone ships with sensible defaults so it is useful out of the box. The generated logbegone.json pre-fills the filter lists with common connection-attempt noise:
Disconnecting VANILLA connection attempt- the repeated message logged when a vanilla client or a server-list ping probes a modded server.Channels- the accompanying channel-negotiation line printed on such connection attempts.
These entries can be removed or replaced freely - they are ordinary list entries like any filter you add yourself.
How Filtering Works
Log Begone hooks the logging system itself at startup, which is what makes the filtering complete:
- It attaches its filter to the root logger and walks every other logger configuration it finds, attaching the same filter there, so messages from the game and from other installed mods are all covered.
- It also registers with the Java utility logging channel, catching libraries that log through that route instead.
- Finally it wraps the standard output stream, so even raw text printed directly to the console - outside any logging system - is checked against your filters.
Every candidate message is tested against the phrases list (substring match) and the regex list (full-line match). If anything matches, the line is discarded on the spot - it is not written to the console, not written to the log file, and not passed down the output stream. Non-matching lines pass through untouched.
Servers & Multiplayer
Log Begone works on both clients and dedicated servers:
- On a dedicated server, install the mod on the server and edit the server's
config/logbegone.json- the console and the server log files stay clean for every session. This is the mod's most popular use: server consoles accumulate repeated connection spam and status noise that the filter removes entirely. - On a client, the same config filters your local game log.
- The mod only filters log output - it changes no gameplay behavior, so client and server installs are independent: it does not need to be present on both sides.