diff options
| author | cce <devnull@localhost> | 2006-03-08 00:10:34 +0000 |
|---|---|---|
| committer | cce <devnull@localhost> | 2006-03-08 00:10:34 +0000 |
| commit | 7bce6520ae2d433d7a8c0c028a01bf51520d1d02 (patch) | |
| tree | 9f305260858cae30a9de5159c14961b0d4fc403e /paste/httpserver.py | |
| parent | cb666000b02e90fb019f4c63c19f61c682613054 (diff) | |
| download | paste-7bce6520ae2d433d7a8c0c028a01bf51520d1d02.tar.gz | |
- remove default transaction logging feature since this can
cause DNS timeout issues for some users who do not have
their network configured correctly
Diffstat (limited to 'paste/httpserver.py')
| -rwxr-xr-x | paste/httpserver.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/paste/httpserver.py b/paste/httpserver.py index fb9f793..7153e02 100755 --- a/paste/httpserver.py +++ b/paste/httpserver.py @@ -75,6 +75,22 @@ class WSGIHandlerMixin: This assumes a ``wsgi_application`` handler on ``self.server``. """ + def log_request(self, *args, **kwargs): + """ disable success request logging + + Logging transactions should not be part of a WSGI server, + if you want logging; look at paste.translogger + """ + pass + + def log_message(self, *args, **kwargs): + """ disable error message logging + + Logging transactions should not be part of a WSGI server, + if you want logging; look at paste.translogger + """ + pass + def version_string(self): """ behavior that BaseHTTPServer should have had """ if not self.sys_version: |
