iwla/conf.py

29 lines
855 B
Python
Raw Normal View History

2014-11-20 15:25:43 +01:00
2014-12-08 18:38:40 +01:00
# Web server log
2014-11-20 15:25:43 +01:00
analyzed_filename = 'access.log'
2014-12-08 18:38:40 +01:00
# Domain name to analyze
2014-11-26 16:17:16 +01:00
domain_name = 'soutade.fr'
2014-12-08 18:38:40 +01:00
# Display visitor IP in addition to resolved names
2014-11-26 16:17:16 +01:00
display_visitor_ip = True
2014-12-08 18:38:40 +01:00
# Hooks used
2014-11-25 16:22:07 +01:00
pre_analysis_hooks = ['page_to_hit', 'robots']
2014-12-12 13:24:47 +01:00
post_analysis_hooks = ['referers', 'top_pages', 'top_downloads', 'top_hits'] #, 'reverse_dns']
display_hooks = ['top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads', 'top_hits']
2014-11-21 10:41:29 +01:00
2014-12-08 18:38:40 +01:00
# Reverse DNS timeout
2014-11-24 21:37:37 +01:00
reverse_dns_timeout = 0.2
2014-12-08 18:38:40 +01:00
# Count this addresses as hit
page_to_hit_conf = [r'^.+/logo[/]?$']
2014-12-08 18:38:40 +01:00
# Count this addresses as page
hit_to_page_conf = [r'^.+/category/.+$', r'^.+/tag/.+$', r'^.+/archive/.+$', r'^.+/ljdc[/]?$']
# Because it's too long to build HTML when there is too much entries
max_hits_displayed = 100
max_downloads_displayed = 100
2014-12-15 21:28:25 +01:00
compress_output_files = ['html', 'css', 'js']