Do a more generic plugin : page_to_hit

This commit is contained in:
Grégory Soutadé
2014-11-25 16:22:07 +01:00
parent d5db763b48
commit 7405cf237a
5 changed files with 48 additions and 43 deletions

View File

@@ -11,11 +11,12 @@ analyzed_filename = 'access.log'
DB_ROOT = './output/'
DISPLAY_ROOT = './output/'
pre_analysis_hooks = ['soutade', 'robots']
pre_analysis_hooks = ['page_to_hit', 'robots']
post_analysis_hooks = ['top_visitors', 'reverse_dns']
display_hooks = ['top_visitors']
reverse_dns_timeout = 0.2
page_to_hit_conf = [r'^.+/logo/$']
# pre_analysis_hooks = ['H002_soutade.py', 'H001_robot.py']
# post_analysis_hooks = ['top_visitors.py']
# display_hooks = ['top_visitors.py']