README
1NAME
2 savelogs - Save log files
3
4SYNOPSIS
5 savelogs saves your log files in a nice way (by default).
6
7 savelogs --postmovehook='/usr/local/apache/bin/apachectl graceful' \
8 --apacheconf=/www/conf/httpd.conf
9
10 savelogs `cat list_of_logs_to_process.txt`
11
12 savelogs --loglevel=2 /var/log/maillog /var/log/cronlog \
13 /var/log/messages
14
15 savelogs --config=/etc/savelogs.conf
16
17 savelogs --period=15 /var/log/messages
18
19 savelogs --apacheconf=/www/conf/httpd.conf --apachehost=foo.com
20
21DESCRIPTION
22 savelogs is a flexible and robust log file archival system. Its
23 logic is simple: move (rename) the log file, filter data from
24 the log file, store the log file in an archive (via tar or
25 gtar), and compress the archive (via gzip or compress). After
26 successful compression, the original log file is deleted.
27
28 All of the above phases are optional. This means that you may
29 simply delete files if you wish. Or you may simply compress
30 existing log files. Or you may move files and add them to a tar
31 file but leave the tar file uncompressed, etc. You pick ;o)
32
33 savelogs has many options yet retains a high degree of dwimitude.
34
35 savelogs should run on any architecture that runs Perl 5.
36
37 Two sample configuration files are included in this distribution
38 in the 'conf' subdirectory. Two man pages will be installed when
39 you install savelogs: savelogs(1) and rotation(1). Use them! ;o)
40
41INSTALLATION
42 perl Makefile.PL
43 make
44 make test
45 make install
46
47AUTHOR
48 Scott Wiersdorf <scott@perlcode.org>
49
50COPYRIGHT
51 Copyright (c) 2001-2011 Scott Wiersdorf.
52
53 This library is free software; you can redistribute it and/or
54 modify it under the same terms as Perl itself.
55