Categories: None [Edit]
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,411 of 183,471
Downloads: 188,491
Daily
Ranking: 9,532 of 183,459
Downloads: 43
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
32,282 | 36,085 | iyyov |
44,856 | 23,461 | jobmanager |
142,521 | 3,711 | davidrichards-appender |
Owners
# | Gravatar | Handle |
---|---|---|
1 | janetleland | |
2 | tonystrauss | |
3 | designingpatts |