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

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

Make sipbmp3web work on scripts.

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

  • Property mode set to 100644
File size: 3.0 KB
Line 
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 = ezyang@mit.edu
14smtp_server = localhost
15error_email_from = ezyang@mit.edu
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
29keytab = /mit/ezyang/web_scripts/ezyang.extra.keytab
30
31# If you'd like to fine-tune the individual locations of the cache data dirs
32# for the Cache data, or the Session saves, un-comment the desired settings
33# here:
34#beaker.cache.data_dir = %(here)s/data/cache
35#beaker.session.data_dir = %(here)s/data/sessions
36
37# pick the form for your database
38# %(here) may include a ':' character on Windows environments; this can
39# invalidate the URI when specifying a SQLite db via path name
40# sqlalchemy.url=postgres://username:password@hostname:port/databasename
41# sqlalchemy.url=mysql://username:password@hostname:port/databasename
42
43
44# If you have sqlite, here's a simple default to get you started
45# in development
46
47sqlalchemy.url = sqlite:///%(here)s/devdata.db
48#echo shouldn't be used together with the logging module.
49sqlalchemy.echo = false
50sqlalchemy.echo_pool = false
51sqlalchemy.pool_recycle = 3600
52
53# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
54# Debug mode will enable the interactive debugging tool, allowing ANYONE to
55# execute malicious code after an exception is raised.
56#set debug = false
57
58# Logging configuration
59# Add additional loggers, handlers, formatters here
60# Uses python's logging config file format
61# http://docs.python.org/lib/logging-config-fileformat.html
62
63[loggers]
64keys = root, sipbmp3web, sqlalchemy, auth
65
66[handlers]
67keys = console
68
69[formatters]
70keys = generic
71
72# If you create additional loggers, add them as a key to [loggers]
73[logger_root]
74level = INFO
75handlers = console
76
77[logger_sipbmp3web]
78level = DEBUG
79handlers =
80qualname = sipbmp3web
81
82[logger_sqlalchemy]
83level = INFO
84handlers =
85qualname = sqlalchemy.engine
86# "level = INFO" logs SQL queries.
87# "level = DEBUG" logs SQL queries and results.
88# "level = WARN" logs neither.  (Recommended for production systems.)
89
90
91# A logger for authentication, identification and authorization -- this is
92# repoze.who and repoze.what:
93[logger_auth]
94level = WARN
95handlers = 
96qualname = auth
97
98# If you create additional handlers, add them as a key to [handlers]
99[handler_console]
100class = StreamHandler
101args = (sys.stderr,)
102level = NOTSET
103formatter = generic
104
105# If you create additional formatters, add them as a key to [formatters]
106[formatter_generic]
107format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
108datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.