| 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 |
|---|
| 19 | sqlalchemy.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 | |
|---|
| 30 | server.environment="development" |
|---|
| 31 | autoreload.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 |
|---|
| 38 | tg.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]]] |
|---|
| 49 | level='DEBUG' |
|---|
| 50 | qualname='flashupload' |
|---|
| 51 | handlers=['debug_out'] |
|---|
| 52 | |
|---|
| 53 | [[[allinfo]]] |
|---|
| 54 | level='INFO' |
|---|
| 55 | handlers=['debug_out'] |
|---|
| 56 | |
|---|
| 57 | [[[access]]] |
|---|
| 58 | level='INFO' |
|---|
| 59 | qualname='turbogears.access' |
|---|
| 60 | handlers=['access_out'] |
|---|
| 61 | propagate=0 |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | [[[database]]] |
|---|
| 65 | # Set to INFO to make SQLAlchemy display SQL commands |
|---|
| 66 | level='ERROR' |
|---|
| 67 | qualname='sqlalchemy.engine' |
|---|
| 68 | handlers=['debug_out'] |
|---|
| 69 | propagate=0 |
|---|