iwla

iwla Git Source Tree

Root/conf.py

1# -*- coding: utf-8 -*-
2
3# Web server log
4analyzed_filename = 'access.log'
5
6# Domain name to analyze
7domain_name = 'soutade.fr'
8
9# Display visitor IP in addition to resolved names
10display_visitor_ip = True
11
12# Hooks used
13pre_analysis_hooks = ['page_to_hit', 'robots']
14post_analysis_hooks = ['referers', 'top_pages', 'top_downloads', 'top_hits']#, 'reverse_dns']
15display_hooks = ['top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads', 'top_hits', 'referers_diff']
16
17# Reverse DNS timeout
18reverse_dns_timeout = 0.2
19
20# Count this addresses as hit
21page_to_hit_conf = [r'^.+/logo[/]?$']
22## Count this addresses as page
23hit_to_page_conf = [r'^.+/category/.+$', r'^.+/tag/.+$', r'^.+/archive/.+$', r'^.+/ljdc[/]?$']
24
25# Because it's too long to build HTML when there is too much entries
26max_hits_displayed = 100
27max_downloads_displayed = 100
28
29# Compress these files after generation
30compress_output_files = ['html', 'css', 'js']
31
32# Display result in French
33locale = 'fr'
34

Archive Download this file

Branches

Tags