Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
34611101
Commit
34611101
authored
Jun 20, 2010
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wsgi: allow passing log=None to disable access logs
parent
02a2ac29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gevent/wsgi.py
gevent/wsgi.py
+2
-2
No files found.
gevent/wsgi.py
View file @
34611101
...
...
@@ -142,13 +142,13 @@ class WSGIServer(HTTPServer):
'wsgi.run_once'
:
False
}
# If 'wsgi.errors' is not present in base_env, it will be set to sys.stderr
def
__init__
(
self
,
listener
,
application
=
None
,
backlog
=
None
,
spawn
=
'default'
,
log
=
None
,
handler_class
=
None
,
environ
=
None
):
def
__init__
(
self
,
listener
,
application
=
None
,
backlog
=
None
,
spawn
=
'default'
,
log
=
'default'
,
handler_class
=
None
,
environ
=
None
):
HTTPServer
.
__init__
(
self
,
listener
,
backlog
=
backlog
,
spawn
=
spawn
)
if
application
is
not
None
:
self
.
application
=
application
if
handler_class
is
not
None
:
self
.
handler_class
=
handler_class
if
log
is
None
:
if
log
==
'default'
:
self
.
log
=
sys
.
stderr
else
:
self
.
log
=
log
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment