2008-07-31 19:19:08 +00:00
|
|
|
#
|
|
|
|
# Yolanda - Pylons development environment configuration
|
|
|
|
#
|
|
|
|
# The %(here)s variable will be replaced with the parent directory of this file
|
|
|
|
#
|
|
|
|
[DEFAULT]
|
|
|
|
debug = true
|
|
|
|
# Uncomment and replace with the address which should receive any error reports
|
|
|
|
#email_to = you@yourdomain.com
|
|
|
|
smtp_server = localhost
|
|
|
|
error_email_from = paste@localhost
|
|
|
|
|
|
|
|
[server:main]
|
|
|
|
use = egg:Paste#http
|
|
|
|
host = 0.0.0.0
|
|
|
|
port = 5000
|
|
|
|
|
|
|
|
[app:main]
|
|
|
|
use = egg:Yolanda
|
|
|
|
full_stack = true
|
2008-11-27 16:59:52 +00:00
|
|
|
cache_dir = /tmp/yolanda/data
|
2008-12-04 06:44:28 +00:00
|
|
|
beaker.session.key = yolandav
|
2008-07-31 19:19:08 +00:00
|
|
|
beaker.session.secret = somesecret
|
|
|
|
|
2008-12-04 06:44:28 +00:00
|
|
|
directory_videos = videos
|
|
|
|
directory_video-stills = video-stills
|
|
|
|
directory_video-thumbnails = thumbnails
|
|
|
|
|
2008-07-31 19:19:08 +00:00
|
|
|
# If you'd like to fine-tune the individual locations of the cache data dirs
|
|
|
|
# for the Cache data, or the Session saves, un-comment the desired settings
|
|
|
|
# here:
|
2008-11-27 16:59:52 +00:00
|
|
|
#beaker.cache.data_dir = /tmp/yolanda/cache
|
|
|
|
#beaker.session.data_dir = /tmp/yolanda/sessions
|
2008-07-31 19:19:08 +00:00
|
|
|
|
|
|
|
# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
|
|
|
|
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
|
|
|
|
# execute malicious code after an exception is raised.
|
|
|
|
#set debug = false
|
|
|
|
|
|
|
|
# Logging configuration
|
|
|
|
[loggers]
|
|
|
|
keys = root, yolanda
|
|
|
|
|
|
|
|
[handlers]
|
|
|
|
keys = console
|
|
|
|
|
|
|
|
[formatters]
|
|
|
|
keys = generic
|
|
|
|
|
|
|
|
[logger_root]
|
|
|
|
level = INFO
|
|
|
|
handlers = console
|
|
|
|
|
|
|
|
[logger_yolanda]
|
|
|
|
level = DEBUG
|
|
|
|
handlers =
|
|
|
|
qualname = yolanda
|
|
|
|
|
|
|
|
[handler_console]
|
|
|
|
class = StreamHandler
|
|
|
|
args = (sys.stderr,)
|
|
|
|
level = NOTSET
|
|
|
|
formatter = generic
|
|
|
|
|
|
|
|
[formatter_generic]
|
|
|
|
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
|
|
|
|
datefmt = %H:%M:%S
|