source: TI01-Discovery-service-BUILDOUTS/trunk/ndg-Redirection-service/development.ini @ 6555

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI01-Discovery-service-BUILDOUTS/trunk/ndg-Redirection-service/development.ini@6555
Revision 6555, 1.5 KB checked in by sdonegan, 11 years ago (diff)

NDG redirect service configs etc at time of NDG3 upgrade to ndg.nerc.ac.uk

Line 
1#
2# ndgRedirect - Pylons development environment configuration
3#
4# The %(here)s variable will be replaced with the parent directory of this file
5#
6[DEFAULT]
7debug = False
8# Uncomment and replace with the address which should receive any error reports
9#email_to = you@yourdomain.com
10smtp_server = localhost
11error_email_from = paste@localhost
12
13[pipeline:main]
14pipeline = logger main_app
15
16[filter:logger]
17use = egg:Paste#translogger
18
19[server:main]
20use = egg:Paste#http
21host = 0.0.0.0
22port = 8081
23
24[app:main_app]
25use = egg:ndgRedirect
26full_stack = true
27cache_dir = %(here)s/data
28beaker.session.key = ndgredirect
29beaker.session.secret = somesecret
30
31# If you'd like to fine-tune the individual locations of the cache data dirs
32# for the Cache data, or the Session saves, un-comment the desired settings
33# here:
34#beaker.cache.data_dir = %(here)s/data/cache
35#beaker.session.data_dir = %(here)s/data/sessions
36
37# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
38# Debug mode will enable the interactive debugging tool, allowing ANYONE to
39# execute malicious code after an exception is raised.
40set debug = false
41
42
43# Logging configuration
44[loggers]
45keys = root, ndgredirect
46
47[handlers]
48keys = console
49
50[formatters]
51keys = generic
52
53[logger_root]
54level = INFO
55handlers = console
56
57[logger_ndgredirect]
58level = DEBUG
59handlers =
60qualname = ndgredirect
61
62[handler_console]
63class = StreamHandler
64args = (sys.stderr,)
65level = NOTSET
66formatter = generic
67
68[formatter_generic]
69format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
70datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.