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,364 of 182,915
Downloads: 186,272

Daily

Ranking: 15,558 of 182,900
Downloads: 28

Depended by

RankDownloadsName
32,13335,903iyyov
44,68523,349jobmanager
142,2643,687davidrichards-appender

Depends on

RankDownloadsName
2,0788,560,433hoe
3,3363,016,661rubyforge
4,3581,550,426gemcutter

Owners

#GravatarHandle
1iconjanetleland
2icontonystrauss
3icondesigningpatts