logrotate (sysutils/logrotate) Updated: 7 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.18.1 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

* To create your own startup item with non-default intervals, build logrotate
without the startupitem variant (-startupitem), copy the example into place
and edit to your liking, then load with launchctl when finished.

$ sudo cp ${prefix}/share/logrotate/org.macports.logrotate.plist.example /Library/LaunchDaemons/org.macports.logrotate.plist

$ sudo launchctl load -w /Library/LaunchDaemons/org.macports.logrotate.plist


Port Health:

Loading Port Health

Installations (30 days)

22

Requested Installations (30 days)

15

Livecheck results

logrotate seems to have been updated (port version: 3.18.1, new version: 3.19.0)

livecheck ran: 1 day, 6 hours ago