PageRenderTime 173ms CodeModel.GetById 76ms app.highlight 3ms RepoModel.GetById 64ms app.codeStats 1ms

/kai/config/deployment.ini_tmpl

https://bitbucket.org/bbangert/kai/
Unknown | 58 lines | 47 code | 11 blank | 0 comment | 0 complexity | 12fcd48d06ba8402890f17734e246298 MD5 | raw file
 1#
 2# kai - Pylons configuration
 3#
 4# The %(here)s variable will be replaced with the parent directory of this file
 5#
 6[DEFAULT]
 7debug = true
 8email_to = you@yourdomain.com
 9smtp_server = localhost
10error_email_from = paste@localhost
11
12[server:main]
13use = egg:Paste#http
14host = 0.0.0.0
15port = 5000
16
17[app:main]
18use = egg:kai
19full_stack = true
20cache_dir = %(here)s/data
21beaker.session.key = kai
22beaker.session.secret = ${app_instance_secret}
23app_instance_uuid = ${app_instance_uuid}
24
25# If you'd like to fine-tune the individual locations of the cache data dirs
26# for the Cache data, or the Session saves, un-comment the desired settings
27# here:
28#beaker.cache.data_dir = %(here)s/data/cache
29#beaker.session.data_dir = %(here)s/data/sessions
30
31# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
32# Debug mode will enable the interactive debugging tool, allowing ANYONE to
33# execute malicious code after an exception is raised.
34set debug = false
35
36
37# Logging configuration
38[loggers]
39keys = root
40
41[handlers]
42keys = console
43
44[formatters]
45keys = generic
46
47[logger_root]
48level = INFO
49handlers = console
50
51[handler_console]
52class = StreamHandler
53args = (sys.stderr,)
54level = NOTSET
55formatter = generic
56
57[formatter_generic]
58format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s