We are excited to announce the release of LogCleaner v1.1.0, which introduces powerful log file management capabilities alongside our existing code cleanup features.
Major Features
- **Intelligent Log File Detection**
- Auto-detection of log files based on content and extensions
- Support for multiple timestamp formats
- Recognition of rotated log files (.log.1, .log.2, etc.)
- **Automated Log Management**
- Scheduled cleaning through cron integration
- Configurable retention periods
- Multi-format timestamp parsing
- Preservation of file structure during cleaning
New Features
- **File Management**
- Added recursive log file discovery
- Support for various log file patterns and extensions
- Smart content-based log file detection
- **Automation Tools**
- Cron job integration for scheduled cleaning
- Customizable cleaning schedules
- Easy management of cleaning tasks
Improvements
- Enhanced datetime parsing with support for multiple formats
- Improved error handling for file operations
- Better progress reporting during operations
- More detailed success/failure feedback
Technical Enhancements
- Added support for various timestamp formats:
- ISO format
- Unix timestamps
- Custom date formats
- Multiple locale formats
- Improved file handling with better encoding support
- Enhanced error recovery during file operations
Documentation
- Added comprehensive examples for log management features
- Updated installation and usage instructions
- Expanded best practices section
- New troubleshooting guides
Breaking Changes
None. This release is fully backward compatible.
Upgrade Instructions
To upgrade to the latest version, run:
bash
pip install git+https://github.com/cypher-o/log_cleaner.gitv1.1.0
Or update your existing installation:
bash
pip install --upgrade log-cleaner
Coming Soon
- Advanced pattern matching for log entries
- Enhanced reporting capabilities
Thank you for your continued support! We're excited to see how these new log management features will help streamline your development workflow.
---
For issues, feedback, or contributions, please visit our [GitHub repository](https://github.com/cypher-o/log_cleaner).