~mnordhoff/loggerhead/cheezum

« back to all changes in this revision

Viewing changes to loggerhead/config/log.cfg

  • Committer: Michael Hudson
  • Date: 2008-06-20 03:46:24 UTC
  • mfrom: (159.2.51 wsgi-ify)
  • Revision ID: michael.hudson@canonical.com-20080620034624-p46dvwbhppj2pojw
merge wsgi-ify
this removes the dependency on turbogears and cherrypy in favour of one on
paste (http://pythonpaste.org).
it adds a new executable, serve-branches.py, that serves branches following the
structure of the file system, but also converts start-loggerhead.py to serve
things from a loggerhead.conf file the 'old-fashioned' way.

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,)'