~loggerhead-team/loggerhead/trunk-rich

1 by Robey Pointer
initial checkin
1
[global]
2
# This is where all of your settings go for your production environment.
3
# You'll copy this file over to your production server and provide it
4
# as a command-line option to your start script.
5
# Settings that are the same for both development and production
6
# (such as template engine, encodings, etc.) all go in 
7
# loggerhead/config/app.cfg
8
9
# pick the form for your database
10
# sqlobject.dburi="postgres://username@hostname/databasename"
11
# sqlobject.dburi="mysql://username:password@hostname:port/databasename"
12
# sqlobject.dburi="sqlite:///file_name_and_path"
13
14
# If you have sqlite, here's a simple default to get you started
15
# in development
16
sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"
17
18
19
# if you are using a database or table type without transactions
20
# (MySQL default, for example), you should turn off transactions
21
# by prepending notrans_ on the uri
22
# sqlobject.dburi="notrans_mysql://username:password@hostname:port/databasename"
23
24
# for Windows users, sqlite URIs look like:
25
# sqlobject.dburi="sqlite:///drive_letter:/path/to/file"
26
27
28
# SERVER
29
30
server.environment="production"
31
32
# Sets the number of threads the server uses
33
# server.thread_pool = 1
34
35
# if this is part of a larger site, you can set the path
36
# to the TurboGears instance here
37
# server.webpath=""
38
39
# session_filter.on = True
40
41
# Set to True if you'd like to abort execution if a controller gets an
42
# unexpected parameter. False by default
43
# tg.strict_parameters = False
44
45
# LOGGING
46
# Logging configuration generally follows the style of the standard
47
# Python logging module configuration. Note that when specifying
48
# log format messages, you need to use *() for formatting variables.
49
# Deployment independent log configuration is in loggerhead/config/log.cfg
50
[logging]
51
52
[[handlers]]
53
54
[[[access_out]]]
55
# set the filename as the first argument below
56
args="('server.log',)"
57
class='FileHandler'
58
level='INFO'
59
formatter='message_only'
60
61
[[loggers]]
62
[[[loggerhead]]]
63
level='ERROR'
64
qualname='loggerhead'
65
handlers=['error_out']
66
67
[[[access]]]
68
level='INFO'
69
qualname='turbogears.access'
70
handlers=['access_out']
71
propagate=0