# `paste.translogger` – Log requests

Middleware for logging requests, using Apache combined log format

## Module Contents

class `paste.translogger.``TransLogger`(application, logger=None, format=None, logging_level=20, logger_name='wsgi', setup_console_handler=True, set_logger_level=10)

  This logging middleware will log all requests as they go through. They are, by default, sent to a logger named `'wsgi'` at the INFO level.

  If `setup_console_handler` is true, then messages for the named logger will be sent to the console.

`paste.translogger.``make_filter`(app, global_conf, logger_name='wsgi', format=None, logging_level=20, setup_console_handler=True, set_logger_level=10)

  This logging middleware will log all requests as they go through. They are, by default, sent to a logger named `'wsgi'` at the INFO level.

  If `setup_console_handler` is true, then messages for the named logger will be sent to the console.