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 |
||
35 |
server.environment="development" |
|
36 |
autoreload.package="loggerhead" |
|
37 |
||
38 |
# session_filter.on = True
|
|
39 |
||
40 |
# Set to True if you'd like to abort execution if a controller gets an
|
|
41 |
# unexpected parameter. False by default
|
|
42 |
tg.strict_parameters = True |
|
43 |
||
44 |
# LOGGING
|
|
45 |
# Logging configuration generally follows the style of the standard
|
|
46 |
# Python logging module configuration. Note that when specifying
|
|
47 |
# log format messages, you need to use *() for formatting variables.
|
|
48 |
# Deployment independent log configuration is in loggerhead/config/log.cfg
|
|
49 |
[logging]
|
|
50 |
||
51 |
[[loggers]]
|
|
52 |
[[[loggerhead]]]
|
|
53 |
level='DEBUG' |
|
54 |
qualname='loggerhead' |
|
55 |
handlers=['debug_out'] |
|
56 |
||
57 |
[[[allinfo]]]
|
|
58 |
level='INFO' |
|
59 |
handlers=['debug_out'] |
|
60 |
||
61 |
[[[access]]]
|
|
62 |
level='INFO' |
|
63 |
qualname='turbogears.access' |
|
64 |
handlers=['access_out'] |
|
65 |
propagate=0 |