source: TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/pylonsapp/pylonsapp/config/deployment.ini_tmpl @ 7077

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/pylonsapp/pylonsapp/config/deployment.ini_tmpl@7077
Revision 7077, 1.3 KB checked in by pjkersha, 9 years ago (diff)
  • Property svn:keywords set to Id
Line 
1#
2# pylonsapp - 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:pylonsapp
19full_stack = true
20static_files = true
21
22cache_dir = %(here)s/data
23beaker.session.key = pylonsapp
24beaker.session.secret = ${app_instance_secret}
25app_instance_uuid = ${app_instance_uuid}
26
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
32
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.
36set debug = false
37
38
39# Logging configuration
40[loggers]
41keys = root
42
43[handlers]
44keys = console
45
46[formatters]
47keys = generic
48
49[logger_root]
50level = INFO
51handlers = console
52
53[handler_console]
54class = StreamHandler
55args = (sys.stderr,)
56level = NOTSET
57formatter = generic
58
59[formatter_generic]
60format = %(asctime)s %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s
Note: See TracBrowser for help on using the repository browser.