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
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"
14
# If you have sqlite, here's a simple default to get you started
16
sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"
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"
24
# for Windows users, sqlite URIs look like:
25
# sqlobject.dburi="sqlite:///drive_letter:/path/to/file"
30
server.environment="production"
32
# Sets the number of threads the server uses
33
# server.thread_pool = 1
35
# if this is part of a larger site, you can set the path
36
# to the TurboGears instance here
39
# session_filter.on = True
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
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
55
# set the filename as the first argument below
56
args="('server.log',)"
59
formatter='message_only'
65
handlers=['error_out']
69
qualname='turbogears.access'
70
handlers=['access_out']