l.s.t.loggingsupport : module documentation

Part of lp.services.twistedsupport

Integration between the normal Launchpad logging and Twisted's.
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 RotatableFileLogObserver A log observer that uses a log file and reopens it on SIGUSR1.
Class _QuietQueryFactory Override noisy to false to avoid useless log spam.
def set_up_logging_for_script(options, name, logfile):
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, configuration, logfile):
Set up OOPS reporting by starting the Twisted logger with an observer.
ParametersnameThe name of the logger to use for oops reporting.
configurationThe name of the config section to use for oops reporting.
logfileFile to log output to.
API Documentation for Launchpad, generated by pydoctor at 2018-10-22 00:00:08.