1 | # |
---|
2 | # ows_server - Pylons development environment configuration |
---|
3 | # |
---|
4 | # The %(here)s variable will be replaced with the parent directory of this file |
---|
5 | # |
---|
6 | [DEFAULT] |
---|
7 | debug = true |
---|
8 | email_to = you@yourdomain.com |
---|
9 | smtp_server = localhost |
---|
10 | error_email_from = paste@localhost |
---|
11 | |
---|
12 | [server:main] |
---|
13 | use = egg:Paste#http |
---|
14 | host = 0.0.0.0 |
---|
15 | port = 8080 |
---|
16 | |
---|
17 | [pipeline:main] |
---|
18 | pipeline = logger main_app |
---|
19 | |
---|
20 | [filter:logger] |
---|
21 | use = egg:Paste#translogger |
---|
22 | |
---|
23 | [app:main_app] |
---|
24 | use = egg:ows_server |
---|
25 | cache_dir = %(here)s/data |
---|
26 | session_key = ows_server |
---|
27 | session_secret = somesecret |
---|
28 | csml_dir = /research/home/spascoe/host/saturn/data/ddc_data/obs |
---|
29 | tmp_dir = %(here)s/data/tmp |
---|
30 | #used for wcs "store": |
---|
31 | publish_dir=%(here)s/ows_server/private/filestore |
---|
32 | ows_common_config = %(here)s/eg_ows_capabilities.xml |
---|
33 | configfile = %(here)s/ndgDiscovery.config |
---|
34 | |
---|
35 | #the password file needs to be outside the egg: |
---|
36 | #passwordFile = %(here)s/passwords.txt |
---|
37 | #but it's gone back to ndgDiscoveryq |
---|
38 | |
---|
39 | # If you'd like to fine-tune the individual locations of the cache data dirs |
---|
40 | # for Myghty, the Cache data, or the Session saves, un-comment the desired |
---|
41 | # settings here: |
---|
42 | #myghty_data_dir = %(here)s/data/templates |
---|
43 | #cache_data_dir = %(here)s/data/cache |
---|
44 | #session_data_dir = %(here)s/data/sessions |
---|
45 | |
---|
46 | # Specify the database for SQLAlchemy to use via |
---|
47 | # pylons.database.session_context. |
---|
48 | # %(here) may include a ':' character on Windows environments; this can |
---|
49 | # invalidate the URI when specifying a SQLite db via path name |
---|
50 | #sqlalchemy.dburi = sqlite:///%(here)s/somedb.db |
---|
51 | |
---|
52 | # Specify the database for SQLObject to use via pylons.database.PackageHub. |
---|
53 | #sqlobject.dburi = sqlite://%(here)s/somedb.db |
---|
54 | |
---|
55 | # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* |
---|
56 | # Debug mode will enable the interactive debugging tool, allowing ANYONE to |
---|
57 | # execute malicious code after an exception is raised. |
---|
58 | #set debug = false |
---|
59 | |
---|
60 | # Logging configuration |
---|
61 | [loggers] |
---|
62 | keys = root, ows_server, ndg |
---|
63 | |
---|
64 | [handlers] |
---|
65 | keys = console |
---|
66 | |
---|
67 | [formatters] |
---|
68 | keys = generic |
---|
69 | |
---|
70 | [logger_root] |
---|
71 | level = INFO |
---|
72 | handlers = console |
---|
73 | |
---|
74 | [logger_ows_server] |
---|
75 | level = DEBUG |
---|
76 | handlers = |
---|
77 | qualname = ows_server |
---|
78 | |
---|
79 | [logger_ndg] |
---|
80 | level = DEBUG |
---|
81 | handlers = |
---|
82 | qualname = ndg |
---|
83 | |
---|
84 | |
---|
85 | [handler_console] |
---|
86 | class = StreamHandler |
---|
87 | args = (sys.stderr,) |
---|
88 | #level = NOTSET |
---|
89 | level = DEBUG |
---|
90 | formatter = generic |
---|
91 | |
---|
92 | [formatter_generic] |
---|
93 | format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
---|
94 | datefmt = %H:%M:%S |
---|
95 | |
---|