##// END OF EJS Templates
major app speedup moved the wsgi creation to app globals, in order to make it run only once....
Marcin Kuzminski -
r10:525ed90e default
parent child Browse files
Show More

The requested changes are too big and content was truncated. Show full diff

@@ -4,6 +4,12 b''
4 ##
4 ##
5 ## The %(here)s variable will be replaced with the parent directory of this file
5 ## The %(here)s variable will be replaced with the parent directory of this file
6 ##
6 ##
7 [exe]
8 command = serve
9 daemon = false
10 user = nobody
11 group = nobody
12
7 [DEFAULT]
13 [DEFAULT]
8 debug = true
14 debug = true
9 ## Uncomment and replace with the address which should receive any error reports
15 ## Uncomment and replace with the address which should receive any error reports
@@ -14,7 +20,7 b' error_email_from = paste_error@localhost'
14 [server:main]
20 [server:main]
15 use = egg:Paste#http
21 use = egg:Paste#http
16 host = 127.0.0.1
22 host = 127.0.0.1
17 port = 5000
23 port = 8001
18
24
19 [app:main]
25 [app:main]
20 use = egg:pylons_app
26 use = egg:pylons_app
@@ -57,13 +63,12 b' beaker.session.type = memory'
57 #set debug = false
63 #set debug = false
58
64
59 ##dozer logging
65 ##dozer logging
60 #logview.sqlalchemy = #faa
66 logview.pylons.templating = #bfb
61 #logview.pylons.templating = #bfb
67 logview.sample_app.lib = #aaa
62 #logview.sample_app.lib = #aaa
63
68
64 # Logging configuration
69 # Logging configuration
65 [loggers]
70 [loggers]
66 keys = root, routes, pylons_app, sqlalchemy
71 keys = root, routes, pylons_app
67
72
68 [handlers]
73 [handlers]
69 keys = console,file_handler
74 keys = console,file_handler
@@ -87,13 +92,6 b' level = DEBUG'
87 handlers = console,file_handler
92 handlers = console,file_handler
88 qualname = pylons_app
93 qualname = pylons_app
89
94
90 [logger_sqlalchemy]
91 level = DEBUG
92 handlers =
93 qualname = sqlalchemy.pool
94 propagate = 0
95
96
97 ## HANDLERS ##
95 ## HANDLERS ##
98
96
99 [handler_console]
97 [handler_console]
@@ -4,6 +4,12 b''
4 ##
4 ##
5 ## The %(here)s variable will be replaced with the parent directory of this file
5 ## The %(here)s variable will be replaced with the parent directory of this file
6 ##
6 ##
7 [exe]
8 command = serve
9 daemon = false
10 user = nobody
11 group = nobody
12
7 [DEFAULT]
13 [DEFAULT]
8 debug = true
14 debug = true
9 ## Uncomment and replace with the address which should receive any error reports
15 ## Uncomment and replace with the address which should receive any error reports
@@ -54,7 +60,7 b' beaker.session.type = memory'
54 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
60 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
55 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to
61 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to
56 ## execute malicious code after an exception is raised.
62 ## execute malicious code after an exception is raised.
57 #set debug = false
63 set debug = false
58
64
59 ##dozer logging
65 ##dozer logging
60 #logview.sqlalchemy = #faa
66 #logview.sqlalchemy = #faa
@@ -63,7 +69,7 b' beaker.session.type = memory'
63
69
64 # Logging configuration
70 # Logging configuration
65 [loggers]
71 [loggers]
66 keys = root, routes, pylons_app, sqlalchemy
72 keys = root, routes, pylons_app
67
73
68 [handlers]
74 [handlers]
69 keys = console,file_handler
75 keys = console,file_handler
@@ -78,7 +84,7 b' handlers = file_handler'
78
84
79 [logger_routes]
85 [logger_routes]
80 level = INFO
86 level = INFO
81 handlers = console
87 handlers = file_handler
82 qualname = routes.middleware
88 qualname = routes.middleware
83 # "level = DEBUG" logs the route matched and routing variables.
89 # "level = DEBUG" logs the route matched and routing variables.
84
90
@@ -87,12 +93,6 b' level = DEBUG'
87 handlers = file_handler
93 handlers = file_handler
88 qualname = pylons_app
94 qualname = pylons_app
89
95
90 [logger_sqlalchemy]
91 level = DEBUG
92 handlers =
93 qualname = sqlalchemy.pool
94 propagate = 0
95
96
96
97 ## HANDLERS ##
97 ## HANDLERS ##
98
98
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
General Comments 0
You need to be logged in to leave comments. Login now