Add some comments
This commit is contained in:
23
conf.py
23
conf.py
@@ -1,27 +1,22 @@
|
||||
|
||||
log_format = '$server_name:$server_port $remote_addr - $remote_user [$time_local] ' +\
|
||||
'"$request" $status $body_bytes_sent ' +\
|
||||
'"$http_referer" "$http_user_agent"';
|
||||
|
||||
#09/Nov/2014:06:35:16 +0100
|
||||
time_format = '%d/%b/%Y:%H:%M:%S +0100'
|
||||
|
||||
# Web server log
|
||||
analyzed_filename = 'access.log'
|
||||
|
||||
# Domain name to analyze
|
||||
domain_name = 'soutade.fr'
|
||||
|
||||
# Display visitor IP in addition to resolved names
|
||||
display_visitor_ip = True
|
||||
|
||||
DB_ROOT = './output/'
|
||||
DISPLAY_ROOT = './output/'
|
||||
|
||||
# Hooks used
|
||||
pre_analysis_hooks = ['page_to_hit', 'robots']
|
||||
post_analysis_hooks = ['referers', 'top_pages', 'top_downloads', 'top_hits']
|
||||
# post_analysis_hooks = ['top_visitors', 'reverse_dns']
|
||||
display_hooks = ['top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads', 'top_hits']
|
||||
|
||||
# Reverse DNS timeout
|
||||
reverse_dns_timeout = 0.2
|
||||
page_to_hit_conf = [r'^.+/logo[/]?$']
|
||||
hit_to_page_conf = [r'^.+/category/.+$', r'^.+/tag/.+$', r'^.+/archive/.+$', r'^.+/ljdc[/]?$']
|
||||
|
||||
count_hit_only_visitors = True
|
||||
# Count this addresses as hit
|
||||
page_to_hit_conf = [r'^.+/logo[/]?$']
|
||||
# Count this addresses as page
|
||||
hit_to_page_conf = [r'^.+/category/.+$', r'^.+/tag/.+$', r'^.+/archive/.+$', r'^.+/ljdc[/]?$']
|
||||
|
||||
Reference in New Issue
Block a user