Log-cleaner

Latest version: v1.1.0

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1.0

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).

1.0.0

We are excited to announce the first release of **logcleaner**, a tool designed to help users efficiently clean and manage their log files.

New Features
- **Logging functionality**: Added comprehensive logging to monitor activity.
- **CLI Interface**: Introduced a command-line interface for better usability.

Improvements
- Enhanced performance of the log-cleaning algorithm, resulting in faster processing times.
- Improved error handling to provide clearer feedback during execution.

Bug Fixes
- Fixed a parsing bug that occurred in specific log formats.

Breaking Changes
- The configuration file format has been changed. Users will need to update their settings accordingly.

Upgrade Instructions
To upgrade to the latest version, run:
bash
pip install logcleaner --upgrade


Thank you for your support, and happy logging!

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.