Categories: None [Edit]

logrotate

https://rubygems.org/gems/logrotate
This package is a library of methods that perform log rotation on files and directories. The log rotate methods allow the caller to specify options (via parameters) such as how many rotated files to keep, what type of extension to place on the rotated file (date or a simple count), and whether to zip the rotated files. Live log files (currently being written to by a live process) can be rotated as well. The post_rotate option is useful in that context, as it can be used to send a HUP signal to notify the live process to reopen its log file. This package was inspired by the need to have a library version of the unix logrotate tool. The unix logrotate tool requires the user to specify options in a config file, and is usually invoked through cron. Directories can be rotated with this library. However, the gzip option does not work with directories. In this case, please zip/tar the directory in question before invoking this library.

Total

Ranking: 11,395 of 183,107
Downloads: 186,796

Daily

Ranking: 11,129 of 183,092
Downloads: 61

Depended by

RankDownloadsName
32,18835,963iyyov
44,73223,395jobmanager
142,4013,693davidrichards-appender

Depends on

RankDownloadsName
2,0868,574,300hoe
3,3453,018,476rubyforge
4,3761,551,364gemcutter

Owners

#GravatarHandle
1icondesigningpatts
2icontonystrauss
3iconjanetleland