Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1953: dev.cfg

File dev.cfg, 1.8 KB (added by Chris Arndt, 4 years ago)
Line 
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# flashupload/config/app.cfg
6
7# DATABASE
8
9# driver://username:password@host:port/database
10
11# pick the form for your database
12# sqlalchemy.dburi="postgres://username@hostname/databasename"
13# sqlalchemy.dburi="mysql://username:password@hostname:port/databasename"
14# sqlalchemy.dburi="sqlite:///relative/path/to/database/file"
15# sqlalchemy.dburi="sqlite:////absolute/path/to/database/file"
16
17# If you have sqlite, here's a simple default to get you started
18# in development
19sqlalchemy.dburi="sqlite:///%(current_dir_uri)s/devdata.sqlite"
20
21
22# SERVER
23
24# Some server parameters that you may want to tweak
25# server.socket_port=8080
26
27# Enable the debug output at the end on pages.
28# log_debug_info_filter.on = False
29
30server.environment="development"
31autoreload.package="flashupload"
32
33# Auto-Reload after code modification
34# autoreload.on = True
35
36# Set to True if you'd like to abort execution if a controller gets an
37# unexpected parameter. False by default
38tg.strict_parameters = True
39
40# LOGGING
41# Logging configuration generally follows the style of the standard
42# Python logging module configuration. Note that when specifying
43# log format messages, you need to use *() for formatting variables.
44# Deployment independent log configuration is in flashupload/config/log.cfg
45[logging]
46
47[[loggers]]
48[[[flashupload]]]
49level='DEBUG'
50qualname='flashupload'
51handlers=['debug_out']
52
53[[[allinfo]]]
54level='INFO'
55handlers=['debug_out']
56
57[[[access]]]
58level='INFO'
59qualname='turbogears.access'
60handlers=['access_out']
61propagate=0
62
63
64[[[database]]]
65# Set to INFO to make SQLAlchemy display SQL commands
66level='ERROR'
67qualname='sqlalchemy.engine'
68handlers=['debug_out']
69propagate=0