~loggerhead-team/loggerhead/trunk-rich

1 by Robey Pointer
initial checkin
1
[global]
2
# This is where all of your settings go for your development environment
3
# Settings that are the same for both development and production
4
# (such as template engine, encodings, etc.) all go in 
5
# loggerhead/config/app.cfg
6
7
# DATABASE
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
# SERVER
28
29
# Some server parameters that you may want to tweak
30
# server.socket_port=8080
31
32
# Enable the debug output at the end on pages.
33
# log_debug_info_filter.on = False
34
19 by Robey Pointer
don't use auto-reload cuz it causes 2 processes to try to access the same cache files :(
35
#server.environment="development"
36
server.environment="production"
37
#autoreload.package="loggerhead"
1 by Robey Pointer
initial checkin
38
142.1.2 by Michael Hudson
add a comment for spiv
39
# We do *not* want our query arguments turned into unicode strings (as
40
# we use them for revision/file ids, and these must not be unicode).
142.1.1 by Michael Hudson
stab turbogears in the tortuously found correct place
41
decoding_filter.on = False
42
1 by Robey Pointer
initial checkin
43
# session_filter.on = True
44
45
# Set to True if you'd like to abort execution if a controller gets an
46
# unexpected parameter. False by default
47
tg.strict_parameters = True
48
19 by Robey Pointer
don't use auto-reload cuz it causes 2 processes to try to access the same cache files :(
49
# turn on timer scheduling
50
tg.scheduler = True
51
1 by Robey Pointer
initial checkin
52
# LOGGING
53
# Logging configuration generally follows the style of the standard
54
# Python logging module configuration. Note that when specifying
55
# log format messages, you need to use *() for formatting variables.
56
# Deployment independent log configuration is in loggerhead/config/log.cfg
57
[logging]
58
59
[[loggers]]
60
[[[loggerhead]]]
61
level='DEBUG'
40 by Robey Pointer
tone down the logging a bit
62
#qualname='loggerhead'
89 by Robey Pointer
fix up dev.cfg so that nobody will ever have to edit it, by letting the
63
#handlers=['debug_out']
1 by Robey Pointer
initial checkin
64
40 by Robey Pointer
tone down the logging a bit
65
#[[[allinfo]]]
66
#level='INFO'
67
#handlers=['debug_out']
1 by Robey Pointer
initial checkin
68
69
[[[access]]]
70
level='INFO'
71
qualname='turbogears.access'
89 by Robey Pointer
fix up dev.cfg so that nobody will ever have to edit it, by letting the
72
#handlers=['access_out']
73
#propagate=0
2 by Robey Pointer
add revision page, put some of the config in the config file
74
75
76
77