Skip to main content

dargslan-log-rotate

Linux Log Rotation Analyzer — Analyze logrotate configuration, find large/unrotated logs, monitor log disk usage. Zero external dependencies.

PyPI version

Installation

pip install dargslan-log-rotate

CLI Usage

dargslan-logrot report         # Full log rotation report
dargslan-logrot configs        # Show logrotate configurations
dargslan-logrot usage          # Log directory usage
dargslan-logrot large -m 50    # Find logs > 50MB
dargslan-logrot issues         # Show issues
dargslan-logrot json           # JSON output

Python API

from dargslan_log_rotate import LogRotateAudit

lr = LogRotateAudit()
lr.print_report()

configs = lr.parse_logrotate_entries()
large = lr.find_large_logs(min_size_mb=50)
usage = lr.log_dir_usage()
issues = lr.audit()

More Resources

License

MIT — Dargslan

Metadata

Release files for dargslan-log-rotate 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dargslan-log-rotate 1.0.0
File Size Uploaded
dargslan_log_rotate-1.0.0.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dargslan-log-rotate 1.0.0
File Interpreter ABI Platform
dargslan_log_rotate-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.3 kB

Release files / dargslan_log_rotate-1.0.0.tar.gz

Download URL dargslan_log_rotate-1.0.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ddfe912a29463fdd49b378e986e159c71cc361c0b08ea9b3fb37e8673fe6088a
BLAKE2b-256 checksum
How to use checksums
55313668312a19511e9f834e8f9e0f9112c30904a58dbc8d15b445575adff0ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / dargslan_log_rotate-1.0.0-py3-none-any.whl

Download URL dargslan_log_rotate-1.0.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66216e4d0edacba7003c4bec824b8df039c6c7142713365c37b57c71525f6768
BLAKE2b-256 checksum
How to use checksums
da019657ff1e0e01e33a0aee3c0036ac1942c2e55585f21faa045f6351a559e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page