Log Cleaner Mod: Smart Log Cleanup for Minecraft

Log Cleaner for Minecraft: Keep Your Logs Folder Under Control If you have been playing Minecraft for a while, you have probably noticed how quickly log files pile up. Every session, crash report, and mod interaction can leave behind another text file. Over time, that clutter eats disk space and ...

Download logcleaner for Minecraft 1.17.1

Original name: logcleaner

Minecraft: 1.17.1

Loaders: Fabric

FileVersionLoaderSize
logcleaner-1.0.0.jar1.17.1Fabric5 КБDownload

Log Cleaner for Minecraft: Keep Your Logs Folder Under Control

If you have been playing Minecraft for a while, you have probably noticed how quickly log files pile up. Every session, crash report, and mod interaction can leave behind another text file. Over time, that clutter eats disk space and makes it harder to find the one log you actually need. Log Cleaner is a lightweight mod built for one job: removing old, unused log files without guessing which ones you still care about.

Why Log Files Become a Problem

Minecraft and many mods write detailed logs for debugging. That is helpful when something breaks, but most of those files are never opened again. On busy servers or heavily modded clients, the logs directory can grow faster than you expect. Manually sorting by date is tedious, and deleting everything “older than X” by creation time can backfire if a file was copied or rotated in a way that does not reflect how recently you actually used it.

How Log Cleaner Decides What to Delete

Log Cleaner does not rely on when a file was first created. Instead, it looks at the most recent access of any kind to each file. If something is still being read, opened, or touched for any reason, the mod is much less likely to remove it unwillingly. That access-based approach matches how players and admins really use logs: the files you still poke at stay, while the ones sitting untouched for a long time are candidates for cleanup.

The mod works in flexible setups. You can run it client-side only on your single-player instance, server-side only on a dedicated host, or in combinations that fit your workflow. It is designed to work across Minecraft versions, so you are not locked to one particular update line when you want tidier logs.

Default Behavior and Peace of Mind

Out of the box, Log Cleaner targets logs that have gone unused for more than fourteen days. That window gives you plenty of time to grab a file for debugging, share it with a friend, or compare before-and-after behavior when you change mods or server settings. If fourteen days feels too short or too long for your world or modpack, you can tighten or loosen the rule so the cleanup rhythm matches how you play.

When you want a smooth setup path for small quality-of-life utilities like this, it helps to use a launcher that treats mods as first-class citizens. This mod can be easily installed via the foxygame.net launcher — a convenient, flexible, and modern Minecraft launcher where you can download mods right from the menu, which saves you from hunting through scattered folders every time you refresh a pack.

Configuration: config/logcleaner.json

All tuning happens in one place. Open config/logcleaner.json in your instance folder and you will see two straightforward options:

  • daysOld — The number of days a log must sit unused before it is eligible for deletion. The default is 14, but you can set any value that fits your support habits or server policy.
  • silent — When set to true, Log Cleaner will not print a message about how many files it removed. The default is false, which is useful if you like a quick confirmation in the log that housekeeping ran as expected.

After you edit the file, restart the game or server as you normally would for config changes, and the new thresholds will apply on the next cleanup cycle.

Tips for Servers and Modded Clients

On a server, combine Log Cleaner with your usual backup routine so you always have an archive outside the live instance. On the client, pair it with sensible mod updates and occasional checks of crash reports so you still know when a new issue appears. Because cleanup is based on access rather than creation date, rotating or copied logs behave more predictably than a naive “delete by birthday” script.

Conclusion

Log Cleaner is a focused utility: it trims log bloat, respects files you still touch, and stays configurable with just two settings. Whether you maintain a public server or a personal modded world, keeping logs manageable makes troubleshooting faster and your storage happier. Set daysOld to match how long you realistically need old traces, flip silent on or off depending on whether you want chatter in the log, and let the mod handle the repetitive cleanup work while you get back to crafting, exploring biomes, and enjoying the next update on your own terms.