comparison 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
comparison
equal deleted inserted replaced
53:dc072a56f343 54:19dace24ad46
69 ## common log format files are supported for now. You can have as many 69 ## common log format files are supported for now. You can have as many
70 ## of SCANFILE settings as you wish. 70 ## of SCANFILE settings as you wish.
71 SCANFILE = "/var/log/auth.log" 71 SCANFILE = "/var/log/auth.log"
72 SCANFILE = "/var/log/httpd/error.log" 72 SCANFILE = "/var/log/httpd/error.log"
73 SCANFILE = "/var/log/httpd/access.log" 73 SCANFILE = "/var/log/httpd/access.log"
74
75 ## SCANFILE_ONCE is like SCANFILE setting, but these files are only
76 ## parsed through once, and are NOT followed for changes in "tail -f"
77 ## style as SCANFILEs are. This is useful if you want to include data
78 ## from logrotated files. (Notice that gzip compressed files are not supported.)
79 SCANFILE_ONCE = "/var/log/auth.log.1"
74 80
75 81
76 ############################################################################# 82 #############################################################################
77 ### Checks / tests 83 ### Checks / tests
78 ############################################################################# 84 #############################################################################