iwla/conf.py

27 lines
832 B
Python
Raw Normal View History

2014-11-20 15:25:43 +01:00
log_format = '$server_name:$server_port $remote_addr - $remote_user [$time_local] ' +\
2014-11-24 21:37:37 +01:00
'"$request" $status $body_bytes_sent ' +\
'"$http_referer" "$http_user_agent"';
2014-11-20 15:25:43 +01:00
#09/Nov/2014:06:35:16 +0100
time_format = '%d/%b/%Y:%H:%M:%S +0100'
analyzed_filename = 'access.log'
2014-11-26 16:17:16 +01:00
domain_name = 'soutade.fr'
display_visitor_ip = True
2014-11-20 15:25:43 +01:00
DB_ROOT = './output/'
DISPLAY_ROOT = './output/'
2014-11-20 16:15:57 +01:00
2014-11-25 16:22:07 +01:00
pre_analysis_hooks = ['page_to_hit', 'robots']
post_analysis_hooks = ['referers', 'top_pages', 'top_downloads']
2014-11-26 16:17:16 +01:00
# post_analysis_hooks = ['top_visitors', 'reverse_dns']
display_hooks = ['top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads']
2014-11-21 10:41:29 +01:00
2014-11-24 21:37:37 +01:00
reverse_dns_timeout = 0.2
page_to_hit_conf = [r'^.+/logo[/]?$', r'^.+/category/.+$', r'^.+/tag/.+$', r'^.+/archive/.+$', r'^.+/ljdc[/]?$']
count_hit_only_visitors = True