Mercurial > hg > maltfilter
diff example.conf @ 54:19dace24ad46
Remove default scanfiles; Clean up update_entry() code; Add "SCANFILE_ONCE"
setting feature; Add sanity checking of some configuration values; Move more
code from main to appropriate functions to handle reinitialization HUPs better.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 16 Aug 2009 17:11:47 +0300 |
parents | 471731c79bb3 |
children | 8b33436dd18b |
line wrap: on
line diff
--- a/example.conf Sun Aug 16 05:03:19 2009 +0300 +++ b/example.conf Sun Aug 16 17:11:47 2009 +0300 @@ -72,6 +72,12 @@ SCANFILE = "/var/log/httpd/error.log" SCANFILE = "/var/log/httpd/access.log" +## SCANFILE_ONCE is like SCANFILE setting, but these files are only +## parsed through once, and are NOT followed for changes in "tail -f" +## style as SCANFILEs are. This is useful if you want to include data +## from logrotated files. (Notice that gzip compressed files are not supported.) +SCANFILE_ONCE = "/var/log/auth.log.1" + ############################################################################# ### Checks / tests