~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/config/log.cfg

  • Committer: John Arbash Meinel
  • Date: 2011-03-16 14:43:36 UTC
  • mfrom: (411.4.8 page_loading)
  • Revision ID: john@arbash-meinel.com-20110316144336-5or6keig1cbagois
Merge the page-loading change.

When /changes page is loaded, don't walk the whole ancestry during 'get_revids_from'.
Instead, only walk enough history to generate the actual page, plus a little bit more
to get the link for the 'next' page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# LOGGING
2
 
# Logging is often deployment specific, but some handlers and
3
 
# formatters can be defined here.
4
 
 
5
 
[logging]
6
 
[[formatters]]
7
 
[[[message_only]]]
8
 
format='*(message)s'
9
 
 
10
 
[[[full_content]]]
11
 
format='*(asctime)s *(name)s *(levelname)s *(message)s'
12
 
 
13
 
[[handlers]]
14
 
#[[[debug_out]]]
15
 
#class='FileHandler'
16
 
#level='DEBUG'
17
 
#args='("/tmp/log.log",)'
18
 
#formatter='full_content'
19
 
 
20
 
#[[[access_out]]]
21
 
#class='StreamHandler'
22
 
#level='INFO'
23
 
#args='(sys.stdout,)'
24
 
#formatter='message_only'
25
 
 
26
 
#[[[error_out]]]
27
 
#class='StreamHandler'
28
 
#level='ERROR'
29
 
#args='(sys.stdout,)'