LogTrimmer
🧹 Keep Your Logs Clean and Your Server Lean with the LogTrimmer ! 🧹
The LogTrimmer is a lightweight utility that helps DayZ server owners and players maintain a tidy environment by automatically trimming excess log files. With configurable file retention limits and platform-aware behavior, you’ll never have to manually clean logs again.
Key Features
- Automatic Log Cleanup: Set it and forget it—LogTrimmer handles the rest.
- Client & Server Support: Enabled by default for clients, disabled by default for servers (but configurable).
- Custom File Patterns: Define wildcards like `script_*.log`, `*.RPT`, `*.txt` and more.
- Retention Limits: Keep only the latest files you need, from 5 to 10 or more, per file type.
- Silent & Background Operation: Cleans logs automatically without user interruption.
- Persistent Configuration: Your preferences are stored and respected across sessions.
Configuration Overview
- Client config path: `DayZ\Saves\LogTrimmer.json`
- Server config path: `DayZServer\Profile\LogTrimmer\LogTrimmer.json`
- Customize log limits using wildcard patterns like:
- `script_*.log`, `crash_*.log`, `*.txt` → max 5 files
- `DayZServer_x64_*.RPT`, `*.ADM`, `*.mdmp` → max 5–10 files
- Adjust limits or add new file types anytime—LogTrimmer respects your edits.
How It Works
- On launch, LogTrimmer checks for the config file.
- If no config is found, it generates a default one with safe values.
- When enabled, it finds files matching defined patterns.
- Old files beyond the set limit are removed automatically.
[*]Cleanup runs in the background, with activity logged to console.
Getting Started
- Add the mod to your mod list (client or server-side).
- Launch DayZ or your server once to auto-generate the config.
[*](Optional) Tweak the `LogTrimmer.json` file to your liking.
[*]Enjoy a cleaner profile or server log directory every time you boot.
Download and Support
Need help or want to join other DayZ server owners?
http://[https://discord.gg/revamphub
Trimming logs has never been easier. Focus on gameplay—not cleanup!
Repacking Terms for the LogTrimmer
By using, modifying, or repacking the LogTrimmer (the "mod"), you agree to the following terms:
- Permitted Modifications:
- You may modify, repack, or redistribute this plugin for personal or community use.
[*]Configuration edits (e.g., `LogTrimmer.json`) are allowed as long as they retain core functionality.
- You may modify, repack, or redistribute this plugin for personal or community use.
- No Commercial Use:
- You may not sell or monetize this plugin or any of its derivative works.
[*]All distributions must be made available free of charge.
- You may not sell or monetize this plugin or any of its derivative works.
- Attribution Required:
- Credit must be given to the original creator(s).
- A link to the original source (e.g., modding Discord or release page) must be provided.
- Do not claim authorship or remove existing credits.
- Respect the Modding Community:
- Modifications should align with the principles and standards of the DayZ modding community.
Clean up your logs, clean up your workflow—with LogTrimmer! 🧹