Back to index

moin  1.9.0~rc2
Public Member Functions | Static Public Attributes
MoinMoin.web.serving.RequestHandler Class Reference
Inheritance diagram for MoinMoin.web.serving.RequestHandler:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.web.serving.RequestHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def log_request
def log_error
def log_message

Static Public Attributes

string server_version = "MoinMoin %s %s"

Detailed Description

A request-handler for WSGI, that overrides the default logging
mechanisms to log via MoinMoin's logging framework.

Definition at line 24 of file serving.py.


Member Function Documentation

def MoinMoin.web.serving.RequestHandler.log_error (   self,
  format,
  args 
)

Definition at line 37 of file serving.py.

00037 
00038     def log_error(self, format, *args):
00039         self.log_message(format, *args)

Here is the call graph for this function:

def MoinMoin.web.serving.RequestHandler.log_message (   self,
  format,
  args 
)

Definition at line 40 of file serving.py.

00040 
00041     def log_message(self, format, *args):
00042         logging.info("%s %s", self.address_string(), (format % args))

Here is the call graph for this function:

Here is the caller graph for this function:

def MoinMoin.web.serving.RequestHandler.log_request (   self,
  code = '-',
  size = '-' 
)

Definition at line 33 of file serving.py.

00033 
00034     def log_request(self, code='-', size='-'):
00035         self.log_message('"%s" %s %s',
00036                          self.requestline, code, size)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

string MoinMoin.web.serving.RequestHandler.server_version = "MoinMoin %s %s" [static]

Definition at line 29 of file serving.py.


The documentation for this class was generated from the following file: