macOS
brew install logrotatelocal Homebrew formula metadata
sudo port install logrotateMacPorts ports tree · sysutils/logrotate/Portfile · Quelle: api.github.com
brew / Rang 3596
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für logrotate in AI-Agent-Workflows.
Installation
brew install logrotatelocal Homebrew formula metadata
sudo port install logrotateMacPorts ports tree · sysutils/logrotate/Portfile · Quelle: api.github.com
sudo apk add logrotateAlpine Linux edge package indexes · logrotate · Quelle: dl-cdn.alpinelinux.org
sudo apt install logrotateDebian stable package indexes · logrotate · Quelle: deb.debian.org
sudo dnf install logrotateFedora Rawhide package metadata · logrotate · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#logrotatenixpkgs package indexes · pkgs/by-name/lo/logrotate/package.nix · Quelle: api.github.com
sudo pacman -S logrotateArch Linux sync databases · logrotate · Quelle: geo.mirror.pkgbuild.com
sudo zypper install logrotateopenSUSE Tumbleweed package metadata · logrotate · Quelle: download.opensuse.org
choco install LogRotateChocolatey community package catalog · LogRotate · Quelle: community.chocolatey.org
Überblick
Rotates, compresses, and mails system logs
Verlauf
logrotate is the standard Unix-style utility for rotating, compressing, removing, and optionally mailing log files so long-running systems do not accumulate unbounded logs.
The official README describes logrotate as a utility designed to simplify administration of systems that generate many log files. Its manpage documents the traditional cron or systemd timer execution model and the central `/etc/logrotate.conf` configuration file.
The current upstream GitHub changelog shows continuing maintenance through modern 3.x releases. Recent entries include systemd integration hardening, state-file locking, Zstandard compression support, stricter parser behavior, fixes for security-sensitive file handling, and a 2024 3.22.0 release with additional parser, rotation, and timer fixes.
logrotate is widely packaged across Unix and Unix-like systems. The supplied package metadata records packages in Alpine, Homebrew, Chocolatey, Debian, Fedora/DNF, MacPorts, Nix, Arch, Ubuntu, and openSUSE, reflecting its status as infrastructure plumbing rather than an application-specific tool.
Its adoption has been helped by the simple contract between packages and the host system: applications can install small snippets under a system's logrotate configuration directory, while logrotate centralizes schedule, retention, compression, permissions, and post-rotation hooks.
Administrators define log paths and directives in `/etc/logrotate.conf` or included configuration files. logrotate can rotate hourly, daily, weekly, monthly, after elapsed minutes, or by size; it can compress old logs, create replacement files, move logs to old directories, run scripts, and maintain a state file to avoid repeated rotations.
Package maintainers care about directives such as `create`, `copytruncate`, `missingok`, `compress`, `delaycompress`, `su`, and `postrotate` because they determine whether daemons keep writing safely after logs are moved or truncated.
logrotate is one of the small system tools that package managers quietly depend on. It lets packaged daemons ship predictable log retention behavior without each daemon inventing its own rotation code, and its config snippets are a familiar part of Linux and Unix package post-installation hygiene.
Sicherheitslage
broad file, network, media, or database tool signal. formula declares a Homebrew service.
orange Risiko · mittel Konfidenz · infrastructure
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/logrotate.confExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
logrotate | Executable | indexiertes Executable | Aus dem lokalen Executable-Index erkannt. |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:logrotate |
|---|---|
| Version | 3.22.0 |
| Paketmanager | Homebrew |
| Homepage | https://github.com/logrotate/logrotate |
| Repository | https://github.com/logrotate/logrotate |
| Bottle | nicht erfasst |
| Dienst | keiner deklariert |
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
logrotate 3.22.0-1
Log rotation utility
https://github.com/logrotate/logrotate
sudo apt install logrotatelogrotate
nix profile install nixpkgs#logrotatelogrotate 3.21.0-2build1
Log rotation utility
https://github.com/logrotate/logrotate
sudo apt install logrotatelogrotate 3.22.0-r0
Tool to rotate logfiles
https://github.com/logrotate/logrotate
sudo apk add logrotatelogrotate-doc 3.22.0-r0
Tool to rotate logfiles (documentation)
https://github.com/logrotate/logrotate
sudo apk add logrotate-doclogrotate-openrc 3.22.0-r0
Tool to rotate logfiles (OpenRC init scripts)
https://github.com/logrotate/logrotate
sudo apk add logrotate-openrclogrotate-syslog 3.22.0-r0
Rotation for the main syslog file
https://github.com/logrotate/logrotate
sudo apk add logrotate-sysloglogrotate 3.22.0-6.fc45
Rotates, compresses, removes and mails system log files
https://github.com/logrotate/logrotate
sudo dnf install logrotatelogrotate 3.22.0-1
Rotates system logs automatically
https://github.com/logrotate/logrotate
sudo pacman -S logrotatelogrotate 3.22.0-2.6
Cron service for rotating, compressing, mailing and removing system log files
https://github.com/logrotate/logrotate
sudo zypper install logrotatelogrotate
sudo port install logrotateLogRotate
choco install LogRotateQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.