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 # sercom/config/app.cfg
11 # pick the form for your database
12 # sqlobject.dburi="postgres://username@hostname/databasename"
13 # sqlobject.dburi="mysql://username:password@hostname:port/databasename"
14 # sqlobject.dburi="sqlite:///file_name_and_path"
16 # If you have sqlite, here's a simple default to get you started
18 sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"
21 # if you are using a database or table type without transactions
22 # (MySQL default, for example), you should turn off transactions
23 # by prepending notrans_ on the uri
24 # sqlobject.dburi="notrans_mysql://username:password@hostname:port/databasename"
26 # for Windows users, sqlite URIs look like:
27 # sqlobject.dburi="sqlite:///drive_letter:/path/to/file"
32 server.environment="production"
34 # Sets the number of threads the server uses
35 # server.thread_pool = 1
37 # if this is part of a larger site, you can set the path
38 # to the TurboGears instance here
41 # session_filter.on = True
43 # Set to True if you'd like to abort execution if a controller gets an
44 # unexpected parameter. False by default
45 # tg.strict_parameters = False
47 # Set the following to True if you are deploying your app using mod_proxy,
48 # mod_rewrite or any other mechanism that forwards requests to your app.
49 # base_url_filter.on = False
50 # base_url_filter.use_x_forwarded_host = False
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 sercom/config/log.cfg
62 # set the filename as the first argument below
63 args="('server.log',)"
66 formatter='message_only'
72 handlers=['error_out']
76 qualname='turbogears.access'
77 handlers=['access_out']