back-up commit. probably broken.
[TownSquare.git] / development.ini
blob332866bc617c2f50eb1cb303a5fee0ce0cfdcb84
2 # townsquare - Pylons development environment configuration
4 # The %(here)s variable will be replaced with the parent directory of this file
6 [DEFAULT]
7 debug = true
8 # Uncomment and replace with the address which should receive any error reports
9 #email_to = you@yourdomain.com
10 smtp_server = localhost
11 error_email_from = paste@localhost
13 [server:main]
14 use = egg:Paste#http
15 host = 127.0.0.1
16 port = 5000
18 [app:main]
19 use = egg:townsquare
20 full_stack = true
21 static_files = true
23 cache_dir = %(here)s/data
24 beaker.session.key = townsquare
25 beaker.session.secret = somesecret
27 # If you'd like to fine-tune the individual locations of the cache data dirs
28 # for the Cache data, or the Session saves, un-comment the desired settings
29 # here:
30 #beaker.cache.data_dir = %(here)s/data/cache
31 #beaker.session.data_dir = %(here)s/data/sessions
33 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
34 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
35 # execute malicious code after an exception is raised.
36 #set debug = false
39 # Logging configuration
40 [loggers]
41 keys = root, routes, townsquare
43 [handlers]
44 keys = console
46 [formatters]
47 keys = generic
49 [logger_root]
50 level = INFO
51 handlers = console
53 [logger_routes]
54 level = INFO
55 handlers =
56 qualname = routes.middleware
57 # "level = DEBUG" logs the route matched and routing variables.
59 [logger_townsquare]
60 level = DEBUG
61 handlers =
62 qualname = townsquare
64 [handler_console]
65 class = StreamHandler
66 args = (sys.stderr,)
67 level = NOTSET
68 formatter = generic
70 [formatter_generic]
71 format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
72 datefmt = %H:%M:%S