Back to mods
Less Logging project artwork

CurseForge · Minecraft mod

Less Logging

Reduces log spam by filtering out death messages for named entities (mobs with name tags).

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Less Logging release matches 1.21.1 NeoForge?

Updated 12 months ago
Best match for your filters Less Logging
Game version 1.21.1
Loader NeoForge

Less Logging targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Less Logging required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Less Logging need?

Less Logging on 1.21.1 NeoForge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Less Logging without breaking your instance.

Built for Less Logging on 1.21.1 NeoForge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Less Logging. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Less Logging. It opens that exact file at the source.

About this project

What does Less Logging add?

No Useless Logging

Why I Made This Mod

If you've ever run a Minecraft server with named mobs or played with mods that spawn named entities, you've probably noticed your console and log files getting flooded with death messages like:

[Server thread/INFO] [minecraft/LivingEntity]: Named entity Sheep['Fluffy'/547, l='ServerLevel[world]', x=123.50, y=64.00, z=-789.30] died: Fluffy was slain by Zombie

These messages serve no practical purpose for most players and server administrators. They clutter the console, making it harder to spot important information, and they bloat log files over time. This is especially problematic on servers with:

Named villagers in trading halls or iron farms

Named pets that might die to environmental hazards

Modded entities that are spawned with custom names

Adventure maps with named mobs for storytelling purposes

I created No Useless Logging to solve this problem once and for all.

What It Does

No Useless Logging is a lightweight utility mod that filters out death messages for any entity that has a custom name tag. This includes:

✅ Vanilla mobs – Sheep, cows, villagers, horses, wolves, cats, and all other tameable/nameable entities
✅ Modded entities – Any mod that extends Minecraft's base LivingEntity class
✅ Villager death messages – Including the special villager-specific death log format
✅ All death causes – Whether the entity was slain, drowned, burned, fell, or died any other way

The mod works by installing a Log4j filter at the root logger level, which means it catches and blocks these messages before they ever reach your console or log file.

Important: This mod only filters log messages. It does not affect gameplay, death events, or any other game mechanics. Your entities will still die normally – you just won't see the spam in your logs.


Performance

No Useless Logging is designed with performance in mind:

  • Minimal overhead – The filter only checks messages that contain death-related content
  • Efficient string matching – Uses simple prefix checking (startsWith) rather than expensive regex operations
  • No tick handlers – The mod doesn't hook into the game loop or run any recurring tasks
  • No event listeners – Works purely at the logging level, completely separate from game events
  • Tiny memory footprint – The entire mod is less than 6KB

The filter operates in O(1) time complexity for the most common case (checking if a message starts with "Named entity"), making it virtually unnoticeable even on high-traffic servers.


Reducing Log File Size

On servers with many named entities, death messages can significantly contribute to log file bloat. Here's what you can expect:

Scenario Without Mod With Mod
Trading hall with 50 villagers Dozens of death messages during raids Clean logs
Named mob farm Constant spam from entity deaths Silent operation
Adventure server with named NPCs Log files grow rapidly Minimal log growth

By filtering these messages, you'll see:

  • Smaller log files – Less disk space usage over time
  • Cleaner console output – Easier to monitor server activity
  • Faster log parsing – When analyzing logs for errors or issues

Compatibility

Minecraft Version: 1.21.1
Mod Loader: NeoForge 21.1.215+
Side: Both (Client & Server)

Works With:

  • ✅ All vanilla entities
  • ✅ Modded entities that extend LivingEntity
  • ✅ Single-player worlds
  • ✅ Dedicated servers
  • ✅ LAN worlds

Installation:

  • Server-only: Install on the server to filter server logs
  • Client-only: Install on the client to filter client logs
  • Both: Install on both for complete coverage

Mod Compatibility:

This mod operates at the logging level and does not modify any game classes or use mixins. It should be compatible with virtually every other mod. If you encounter any compatibility issues, please report them!


License

This mod is released under the MIT License. You are free to include it in modpacks, modify it, or use it however you like.


Made by Navrelis

Project description from CurseForge.

Pick your setup

Less Logging by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Less Logging versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.