source: gutenbach-web/development.ini @ 0603e20

debianmacno-cupsweb
Last change on this file since 0603e20 was 973dd91, checked in by Edward Z. Yang <edwardzyang@…>, 16 years ago

Initial commit.

Signed-off-by: Edward Z. Yang <edwardzyang@…>

  • Property mode set to 100644
File size: 3.0 KB
RevLine 
[973dd91]1#
2# sipbmp3-web - Pylons development environment configuration
3#
4# The %(here)s variable will be replaced with the parent directory of this file
5#
6# This file is for deployment specific config options -- other configuration
7# that is always required for the app is done in the config directory,
8# and generally should not be modified by end users.
9
10[DEFAULT]
11debug = true
12# Uncomment and replace with the address which should receive any error reports
13#email_to = you@yourdomain.com
14smtp_server = localhost
15error_email_from = paste@localhost
16
17[server:main]
18use = egg:Paste#http
19host = 127.0.0.1
20port = 8080
21
22[app:main]
23use = egg:sipbmp3-web
24full_stack = true
25#lang = ru
26cache_dir = %(here)s/data
27beaker.session.key = sipbmp3web
28beaker.session.secret = somesecret
29
30# If you'd like to fine-tune the individual locations of the cache data dirs
31# for the Cache data, or the Session saves, un-comment the desired settings
32# here:
33#beaker.cache.data_dir = %(here)s/data/cache
34#beaker.session.data_dir = %(here)s/data/sessions
35
36# pick the form for your database
37# %(here) may include a ':' character on Windows environments; this can
38# invalidate the URI when specifying a SQLite db via path name
39# sqlalchemy.url=postgres://username:password@hostname:port/databasename
40# sqlalchemy.url=mysql://username:password@hostname:port/databasename
41
42
43# If you have sqlite, here's a simple default to get you started
44# in development
45
46sqlalchemy.url = sqlite:///%(here)s/devdata.db
47#echo shouldn't be used together with the logging module.
48sqlalchemy.echo = false
49sqlalchemy.echo_pool = false
50sqlalchemy.pool_recycle = 3600
51
52# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
53# Debug mode will enable the interactive debugging tool, allowing ANYONE to
54# execute malicious code after an exception is raised.
55#set debug = false
56
57# Logging configuration
58# Add additional loggers, handlers, formatters here
59# Uses python's logging config file format
60# http://docs.python.org/lib/logging-config-fileformat.html
61
62[loggers]
63keys = root, sipbmp3web, sqlalchemy, auth
64
65[handlers]
66keys = console
67
68[formatters]
69keys = generic
70
71# If you create additional loggers, add them as a key to [loggers]
72[logger_root]
73level = INFO
74handlers = console
75
76[logger_sipbmp3web]
77level = DEBUG
78handlers =
79qualname = sipbmp3web
80
81[logger_sqlalchemy]
82level = INFO
83handlers =
84qualname = sqlalchemy.engine
85# "level = INFO" logs SQL queries.
86# "level = DEBUG" logs SQL queries and results.
87# "level = WARN" logs neither.  (Recommended for production systems.)
88
89
90# A logger for authentication, identification and authorization -- this is
91# repoze.who and repoze.what:
92[logger_auth]
93level = WARN
94handlers = 
95qualname = auth
96
97# If you create additional handlers, add them as a key to [handlers]
98[handler_console]
99class = StreamHandler
100args = (sys.stderr,)
101level = NOTSET
102formatter = generic
103
104# If you create additional formatters, add them as a key to [formatters]
105[formatter_generic]
106format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
107datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.