diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-06-26 19:14:01 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-06-26 19:16:43 +0300 |
commit | 380b7047132b7747999c2bca1164671f5fb8c604 (patch) | |
tree | 91c229d9d70deb5a6fd1144a20fa4aeb59784619 /beam.conf | |
parent | 3932856031189f0c242483068cdd8eaf44429fc8 (diff) | |
download | beam-380b7047132b7747999c2bca1164671f5fb8c604.tar.gz beam-380b7047132b7747999c2bca1164671f5fb8c604.tar.bz2 |
Provide a default log rotate hook.
* Makefile.am (build.sed): Define LOCALSTATEDIR and DATAROOTDIR.
* beam.conf (openlog_hook): Initialize to beam_logrotate.
* doc/beam.conf.5in: Document openlog_hook and its default.
* lib/beam/common.in (beam_logrotate): New function.
Diffstat (limited to 'beam.conf')
-rw-r--r-- | beam.conf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ echo >&2 "$0: WARNING: using default configuration boilerplate" # Commands listed in openlog_hook are run before opening the logfile. The # most common use for this hook is to rotate an oversized logfile prior to # opening it. -openlog_hook= +openlog_hook=beam_logrotate # The prologue_hook is a list of commands to run before starting backup # (or restore). prologue_hook= |