log-file-rotation
CommunityPrevent disk exhaustion with automated log rotation.
Software Engineering#automation#archiving#log rotation#log management#system maintenance#disk space management
AuthorAstorYH
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents disk space from being filled by old log data by automatically archiving and managing log files.
Core Features & Use Cases
- Automated Archiving: Periodically archives current log files with timestamps and compression.
- New File Creation: Creates new, empty log files to continue logging.
- Configurable Rotation: Supports daily, weekly, or monthly rotation schedules.
- Optional Retention: Can automatically delete old archived logs to save space.
- Use Case: Ensure your server's
/var/logdirectory doesn't fill up by automatically rotating and archiving application logs daily, keeping only the last 30 days of archives.
Quick Start
Configure the log-file-rotation skill to rotate the log files located at /var/log/app.log and /var/log/system.log daily, storing archives in /var/log/archive and retaining them for 30 days.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: log-file-rotation Download link: https://github.com/AstorYH/PASB/archive/main.zip#log-file-rotation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.