Show More
@@ -26,7 +26,7 b' port = 5000' | |||||
26 | [app:main] |
|
26 | [app:main] | |
27 | use = egg:pylons_app |
|
27 | use = egg:pylons_app | |
28 | full_stack = true |
|
28 | full_stack = true | |
29 |
static_files = |
|
29 | static_files = false | |
30 | lang=en |
|
30 | lang=en | |
31 | cache_dir = %(here)s/data |
|
31 | cache_dir = %(here)s/data | |
32 |
|
32 | |||
@@ -45,10 +45,10 b' cache_dir = %(here)s/data' | |||||
45 | keys = root, routes, pylons_app, sqlalchemy |
|
45 | keys = root, routes, pylons_app, sqlalchemy | |
46 |
|
46 | |||
47 | [handlers] |
|
47 | [handlers] | |
48 |
keys = console |
|
48 | keys = console | |
49 |
|
49 | |||
50 | [formatters] |
|
50 | [formatters] | |
51 |
keys = generic |
|
51 | keys = generic | |
52 |
|
52 | |||
53 | ############# |
|
53 | ############# | |
54 | ## LOGGERS ## |
|
54 | ## LOGGERS ## | |
@@ -84,12 +84,6 b' args = (sys.stderr,)' | |||||
84 | level = NOTSET |
|
84 | level = NOTSET | |
85 | formatter = generic |
|
85 | formatter = generic | |
86 |
|
86 | |||
87 | [handler_chainsaw] |
|
|||
88 | class = xmllayout.RawSocketHandler |
|
|||
89 | args = ('localhost', 4448) |
|
|||
90 | level = NOTSET |
|
|||
91 | formatter = xmllayout |
|
|||
92 |
|
||||
93 | ################ |
|
87 | ################ | |
94 | ## FORMATTERS ## |
|
88 | ## FORMATTERS ## | |
95 | ################ |
|
89 | ################ | |
@@ -98,6 +92,3 b' formatter = xmllayout' | |||||
98 | format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|
92 | format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s | |
99 | datefmt = %H:%M:%S |
|
93 | datefmt = %H:%M:%S | |
100 |
|
94 | |||
101 | [formatter_xmllayout] |
|
|||
102 | class = xmllayout.XMLLayout |
|
|||
103 |
|
@@ -26,7 +26,7 b' port = 8001' | |||||
26 | [app:main] |
|
26 | [app:main] | |
27 | use = egg:pylons_app |
|
27 | use = egg:pylons_app | |
28 | full_stack = true |
|
28 | full_stack = true | |
29 |
static_files = |
|
29 | static_files = false | |
30 | lang=en |
|
30 | lang=en | |
31 | cache_dir = %(here)s/data |
|
31 | cache_dir = %(here)s/data | |
32 |
|
32 |
@@ -8,10 +8,10 b' from pylons import config' | |||||
8 | from pylons.middleware import ErrorHandler, StatusCodeRedirect |
|
8 | from pylons.middleware import ErrorHandler, StatusCodeRedirect | |
9 | from pylons.wsgiapp import PylonsApp |
|
9 | from pylons.wsgiapp import PylonsApp | |
10 | from routes.middleware import RoutesMiddleware |
|
10 | from routes.middleware import RoutesMiddleware | |
|
11 | ||||
11 | from pylons_app.config.environment import load_environment |
|
12 | from pylons_app.config.environment import load_environment | |
12 |
|
13 | |||
13 |
|
14 | |||
14 |
|
||||
15 | def make_app(global_conf, full_stack = True, **app_conf): |
|
15 | def make_app(global_conf, full_stack = True, **app_conf): | |
16 | """Create a Pylons WSGI application and return it |
|
16 | """Create a Pylons WSGI application and return it | |
17 |
|
17 |
General Comments 0
You need to be logged in to leave comments.
Login now