Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Log Cleaner

Log Cleaner

A lightweight mod that cleans old, unused log files

672.0k
147
Utility
AboutChangelogVersions

A lightweight mod that cleans old, unused log files.

The best thing is that this mod keeps files not based on creation date, but the most recent access (of any kind) to the file, so logs that are still being accessed for whatever reason are not removed unwillingly.

It works both client-side only and server-side only, and works in every Minecraft version.

By default, it will clean logs that haven't been used in more than 14 days, so there's plenty of time in case you ever need them for debugging, but you can configure it to any amount of days you want.

Configuration

You can find the mod's configuration file in config/logcleaner.json. There's two options you can change in there:

  • daysOld: The number of days a log has to have been unused in order for it to be deleted. Defaults to 14
  • silent: If set to true, Log Cleaner will not send a message with the amount of deleted log files to the log. Defaults to false

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.20–1.20.2
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x

Platforms

Fabric
Quilt

Supported environments

Client-side
Server-side
Client and server (optional)

Links

Report issues View source

Creators

altrisi
altrisi Owner

Details

Licensed GPL-3.0-only
Published 2 years ago
Updated 2 years ago

Modrinth is open source.

main@9fd0f68

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.