iwla

iwla Git Source Tree

Root/conf.py

1
2# Web server log
3analyzed_filename = '/var/log/apache2/access.log.1,/var/log/apache2/access.log'
4
5# Domain name to analyze
6domain_name = 'soutade.fr'
7
8# Display visitor IP in addition to resolved names
9display_visitor_ip = True
10
11# Hooks used
12pre_analysis_hooks = ['page_to_hit', 'robots']
13post_analysis_hooks = ['referers', 'top_pages', 'top_downloads', 'operating_systems', 'browsers', 'feeds', 'hours_stats', 'reverse_dns', 'ip_to_geo']
14display_hooks = ['track_users', 'top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads', 'referers_diff', 'ip_to_geo', 'operating_systems', 'browsers', 'feeds', 'hours_stats', 'top_downloads_diff', 'robot_bandwidth']
15
16# Reverse DNS timeout
17reverse_dns_timeout = 0.2
18
19# Count this addresses as hit
20page_to_hit_conf = [r'^.+/logo[/]?$']
21# Count this addresses as page
22hit_to_page_conf = [r'^.+/category/.+$', r'^.+/tag/.+$', r'^.+/archive/.+$', r'^.+/ljdc[/]?$', r'^.+/source/tree/.*$', r'^.+/source/file/.*$', r'^.+/search/.+$']
23
24# Because it's too long to build HTML when there is too much entries
25max_hits_displayed = 100
26max_downloads_displayed = 100
27
28compress_output_files = ['html', 'css', 'js']
29
30# Locale in French
31#locale = 'fr'
32
33# Tracked IP
34tracked_ip = ['192.168.1.1']
35
36# Excluded IP
37excluded_ip = [
38 # r'192.168.*', # Local
39]
40
41# Feeds url
42feeds = [r'^.*/atom.xml$', r'^.*/rss.xml$']
43
44# Consider xml files as multimedia (append to current list)
45multimedia_file_append = ['xml']
46
47# Not all robots bandwidth (too big)
48create_all_robot_bandwidth_page = False

Archive Download this file

Branches

Tags