Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/qesdi/graphplotter/trunk/development.ini@6464
Revision 6464,
1.7 KB
checked in by pnorton, 11 years ago
(diff) |
Added the ability to replace a data variables name with a attribute from the variable by putting an '@' character before the alias in the config file.
|
Line | |
---|
1 | # |
---|
2 | # graphplotter - 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 | # Uncomment and replace with the address which should receive any error reports |
---|
9 | #email_to = you@yourdomain.com |
---|
10 | smtp_server = localhost |
---|
11 | error_email_from = paste@localhost |
---|
12 | |
---|
13 | [server:main] |
---|
14 | use = egg:Paste#http |
---|
15 | host = 127.0.0.1 |
---|
16 | port = 5006 |
---|
17 | |
---|
18 | [app:main] |
---|
19 | use = egg:graphplotter |
---|
20 | full_stack = true |
---|
21 | static_files = true |
---|
22 | |
---|
23 | cache_dir = %(here)s/data |
---|
24 | beaker.session.key = graphplotter |
---|
25 | beaker.session.secret = somesecret |
---|
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. |
---|
36 | #set debug = false |
---|
37 | |
---|
38 | df_config_dir = %(here)s/df_config |
---|
39 | |
---|
40 | |
---|
41 | # Logging configuration |
---|
42 | [loggers] |
---|
43 | keys = root, routes, graphplotter, pylons |
---|
44 | |
---|
45 | [handlers] |
---|
46 | keys = console |
---|
47 | |
---|
48 | [formatters] |
---|
49 | keys = generic |
---|
50 | |
---|
51 | [logger_root] |
---|
52 | level = DEBUG |
---|
53 | handlers = console |
---|
54 | |
---|
55 | [logger_routes] |
---|
56 | level = INFO |
---|
57 | handlers = |
---|
58 | qualname = routes.middleware |
---|
59 | # "level = DEBUG" logs the route matched and routing variables. |
---|
60 | |
---|
61 | [logger_graphplotter] |
---|
62 | level = DEBUG |
---|
63 | handlers = |
---|
64 | qualname = graphplotter |
---|
65 | |
---|
66 | [logger_pylons] |
---|
67 | level = INFO |
---|
68 | handlers = |
---|
69 | qualname = pylons |
---|
70 | |
---|
71 | [handler_console] |
---|
72 | class = StreamHandler |
---|
73 | args = (sys.stderr,) |
---|
74 | level = NOTSET |
---|
75 | formatter = generic |
---|
76 | |
---|
77 | [formatter_generic] |
---|
78 | format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
---|
79 | datefmt = %H:%M:%S |
---|
Note: See
TracBrowser
for help on using the repository browser.