macOS
brew install logrotatelocal Homebrew formula metadata
sudo port install logrotateMacPorts ports tree · sysutils/logrotate/Portfile · Source: api.github.com
brew / rang 3596
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de logrotate pour les workflows d'agents IA.
installation
brew install logrotatelocal Homebrew formula metadata
sudo port install logrotateMacPorts ports tree · sysutils/logrotate/Portfile · Source: api.github.com
sudo apk add logrotateAlpine Linux edge package indexes · logrotate · Source: dl-cdn.alpinelinux.org
sudo apt install logrotateDebian stable package indexes · logrotate · Source: deb.debian.org
sudo dnf install logrotateFedora Rawhide package metadata · logrotate · Source: dl.fedoraproject.org
nix profile install nixpkgs#logrotatenixpkgs package indexes · pkgs/by-name/lo/logrotate/package.nix · Source: api.github.com
sudo pacman -S logrotateArch Linux sync databases · logrotate · Source: geo.mirror.pkgbuild.com
sudo zypper install logrotateopenSUSE Tumbleweed package metadata · logrotate · Source: download.opensuse.org
choco install LogRotateChocolatey community package catalog · LogRotate · Source: community.chocolatey.org
aperçu
Rotates, compresses, and mails system logs
historique
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.
posture de sécurité
broad file, network, media, or database tool signal. formula declares a Homebrew service.
risque orange · confiance moyen · infrastructure
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
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.confexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
logrotate | exécutable | exécutable indexé | Découvert depuis l'index local des exécutables. |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:logrotate |
|---|---|
| Version | 3.22.0 |
| Gestionnaire de paquets | Homebrew |
| Page d'accueil | https://github.com/logrotate/logrotate |
| Dépôt | https://github.com/logrotate/logrotate |
| Bouteille | non enregistré |
| Service | aucun déclaré |
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 LogRotatepiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.