source: gutenbach-web/deployment.ini @ 407f6f1

debianmacno-cupsweb
Last change on this file since 407f6f1 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: 2.5 KB
Line 
1#
2# sipbmp3-web - TurboGears configuration
3#
4# The %(here)s variable will be replaced with the parent directory of this file
5#
6[DEFAULT]
7# WARGING == If debug is not set to false, you'll get the interactive
8# debugger on production, which is a huge security hole.
9
10debug = false
11email_to = you@yourdomain.com
12smtp_server = localhost
13error_email_from = paste@localhost
14
15[server:main]
16use = egg:Paste#http
17host = 0.0.0.0
18port = 8080
19
20[app:main]
21use = egg:sipbmp3-web
22full_stack = true
23cache_dir = %(here)s/data
24beaker.session.key = sipbmp3web
25beaker.session.secret = ${app_instance_secret}
26app_instance_uuid = ${app_instance_uuid}
27
28# If you'd like to fine-tune the individual locations of the cache data dirs
29# for the Cache data, or the Session saves, un-comment the desired settings
30# here:
31#beaker.cache.data_dir = %(here)s/data/cache
32#beaker.session.data_dir = %(here)s/data/sessions
33# Specify the database for SQLAlchemy to use via
34# turbogears.database
35# %(here) may include a ':' character on Windows environments; this can
36# invalidate the URI when specifying a SQLite db via path name
37sqlalchemy.url = sqlite:///%(here)s/somedb.db
38sqlalchemy.echo = False
39
40# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
41# Debug mode will enable the interactive debugging tool, allowing ANYONE to
42# execute malicious code after an exception is raised.
43#set debug = false
44
45# Logging configuration
46# Add additional loggers, handlers, formatters here
47# Uses python's logging config file format
48# http://docs.python.org/lib/logging-config-fileformat.html
49
50[loggers]
51keys = root, sipbmp3web, sqlalchemy, auth
52
53[handlers]
54keys = console
55
56[formatters]
57keys = generic
58
59# If you create additional loggers, add them as a key to [loggers]
60[logger_root]
61level = INFO
62handlers = console
63
64[logger_sipbmp3web]
65level = INFO
66handlers =
67qualname = sipbmp3web
68
69[logger_sqlalchemy]
70level = WARN
71handlers =
72qualname = sqlalchemy.engine
73# "level = INFO" logs SQL queries.
74# "level = DEBUG" logs SQL queries and results.
75# "level = WARN" logs neither.  (Recommended for production systems.)
76
77
78# A logger for authentication, identification and authorization -- this is
79# repoze.who and repoze.what:
80[logger_auth]
81level = WARN
82handlers = 
83qualname = auth
84
85# If you create additional handlers, add them as a key to [handlers]
86[handler_console]
87class = StreamHandler
88args = (sys.stderr,)
89level = NOTSET
90formatter = generic
91
92# If you create additional formatters, add them as a key to [formatters]
93[formatter_generic]
94format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
95datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.