source: cowsserver/trunk/development.ini @ 6071

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cowsserver/trunk/development.ini@6071
Revision 6071, 3.5 KB checked in by spascoe, 10 years ago (diff)

Changed references to wms_ddc_vis to cowsserver. NOTE: filename changes are TODO therefore this will not run.

Line 
1#
2# OGCServices - Pylons development environment configuration
3#
4# The %(here)s variable will be replaced with the parent directory of this file
5#
6[DEFAULT]
7debug = true
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[server:main]
14use = egg:Paste#http
15#host = 127.0.0.1
16host = 0.0.0.0
17port = 5000
18use_threadpool = True
19threadpool_spawn_if_under = 1
20threadpool_workers = 1
21
22[app:main]
23use = egg:cowsserver
24full_stack = true
25cache_dir = %(here)s/data
26
27cache_enabled = True
28
29##############################################################################
30# COWS configuration
31#
32
33# Set to pylons if you want WMS calls to be handled by the pylons debugger.
34# Else WMS exceptions will be raised
35cows.exception_type = pylons
36
37# Point to the service-level OWS configuration file
38cows.capabilities_config = %(here)s/capabilities.cfg
39cows.csml.tmpdir = /data/pnorton/wms_tmp
40cows.csml.csmlstore = /data/pnorton/csml
41cows.csml.colourmap = jet
42cows.csml.publish_dir = %(here)s/publish
43cows.csml.wfsconfig = %(here)s/wfs.cfg
44cows.csml.legendfont = /usr/share/fonts/truetype/luxisr.ttf
45
46cows.browser_caching_enabled = false
47
48#switches the demo to the wmsviz page
49cows.cowsclienturl = http://localhost:5005/wmsviz?
50##############################################################################
51
52beaker.session.key = ogcservices
53beaker.session.secret = somesecret
54
55
56# If you'd like to fine-tune the individual locations of the cache data dirs
57# for the Cache data, or the Session saves, un-comment the desired settings
58# here:
59beaker.cache.data_dir = /data/pnorton/beaker_cache
60beaker.session.data_dir = /data/pnorton/beaker_sessions
61
62# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
63# Debug mode will enable the interactive debugging tool, allowing ANYONE to
64# execute malicious code after an exception is raised.
65#set debug = false
66
67# Logging configuration
68[loggers]
69keys = root,paste,pylons,routes,cows,geoplot,cows_wms,cows_ows,cows_imps,cows_wcs,wms_request, beaker
70
71[handlers]
72keys = console, file
73
74[formatters]
75keys = generic, logfile
76
77[logger_root]
78level = DEBUG
79handlers = console
80
81[logger_paste]
82level = INFO
83handlers = console
84propagate = 0
85qualname = paste
86
87[logger_pylons]
88level = INFO
89handlers = console
90propagate = 0
91qualname = pylons
92
93[logger_routes]
94level = INFO
95handlers = console
96propagate = 0
97qualname = routes
98
99[logger_cows_imps]
100level = DEBUG
101handlers = console
102propagate = 0
103qualname = cows.service.imps
104
105[logger_cows_ows]
106level = INFO
107handlers = console
108propagate = 0
109qualname = cows.pylons.ows_controller
110
111[logger_cows_wms]
112level = DEBUG
113handlers = console
114propagate = 0
115qualname = cows.pylons.wms_controller
116
117[logger_cows_wcs]
118level = DEBUG
119handlers = console
120propagate = 0
121qualname = cows.pylons.wcs_controller
122
123[logger_cows]
124level = INFO
125handlers = console
126propagate = 0
127qualname = cows
128
129[logger_geoplot]
130level = INFO
131handlers = console
132propagate = 0
133qualname = geoplot
134
135[logger_wms_request]
136level = DEBUG
137handlers = file
138propagate = 0
139qualname = wms_request
140
141[logger_beaker]
142level = INFO
143handlers = console
144propagate = 0
145qualname = beaker
146
147
148[handler_console]
149class = StreamHandler
150args = (sys.stderr,)
151level = NOTSET
152formatter = generic
153
154[handler_file]
155class = FileHandler
156args = ('./log.txt',)
157level = NOTSET
158formatter = logfile
159
160[formatter_generic]
161format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
162datefmt = %H:%M:%S
163
164[formatter_logfile]
165format = %(asctime)s %(filename)s: %(message)s
166
Note: See TracBrowser for help on using the repository browser.