logrotate (sysutils/logrotate) Updated: 1 year, 10 months ago Add to my watchlist

Rotates, compresses, and mails system logs

The logrotate utility is designed to simplify the administration of logs on a system which generates a lot of log files. Logrotate provides automatic rotation, compression (gzip by default), removal and mailing of log files. Logrotate can be set to handle a log file daily, weekly, monthly or when the log file exceeds a certain size.

Version: 3.21.0 License: GPL-2 GitHub
Maintainers ctreleaven
Categories sysutils
Homepage https://github.com/logrotate/logrotate
Platforms darwin
Variants
  • bzip2 (Use bzip2 compression by default)
  • universal (Build for multiple architectures)

"logrotate" depends on

lib (1)
extract (1)
xz
run (2)
build (4)

Ports that depend on "logrotate"




Port notes

To use logrotate:

* See 'man logrotate' for configuration options.

* Enable daily log rotation with this command.

$ sudo port load logrotate A startup item has been generated that will aid in starting logrotate with launchd. It is disabled by default. Execute the following command to start it, and to cause it to launch at startup:

sudo port load logrotate


Port Health:

Loading Port Health

Installations (30 days)

34

Requested Installations (30 days)

24

Livecheck results

logrotate seems to have been updated (port version: 3.21.0, new version: 3.22.0)

livecheck ran: 13 hours ago