c.t.loggingsupport : module documentation

Part of canonical.twistedsupport

Integration between the normal Launchpad logging and Twisted's.
Class OOPSLoggingObserver A version of PythonLoggingObserver that logs OOPSes for errors.
Function log_oops_from_failure Undocumented
Function set_up_logging_for_script Create a Logger object and configure twisted to use it.
Function set_up_oops_reporting Set up OOPS reporting by starting the Twisted logger with an observer.
Class LaunchpadLogFile Extending DailyLogFile to serve Launchpad purposes.
Class LoggingProxy A proxy that logs requests and the corresponding responses.
Class _QuietQueryFactory Override noisy to false to avoid useless log spam.
def log_oops_from_failure(failure, now=None, URL=None, **args):
Undocumented
def set_up_logging_for_script(options, name):
Create a Logger object and configure twisted to use it.

This also configures oops reporting to use the section named 'name'.

def set_up_oops_reporting(name, mangle_stdout=False):
Set up OOPS reporting by starting the Twisted logger with an observer.
ParametersnameThe name of the logger and config section to use for oops reporting.
mangle_stdoutIf True, send stdout and stderr to the logger. Defaults to False.
API Documentation for Launchpad, generated by pydoctor at 2010-03-21 00:00:03.