l.s.w.sigusr2 : module documentation

Part of lp.services.webapp

A SIGUSR2 handler for the Launchpad Web App.

Sending a SIGUSR2 signal to Launchpad will cause logfiles to be reopened, allowing a tool like logrotate to rotate them.

Function sigusr2_handler Rotate logfiles in response to SIGUSR2.
Function setup_sigusr2 Configure the SIGUSR2 handler. Called at startup.
def sigusr2_handler(signum, frame):
Rotate logfiles in response to SIGUSR2.
def setup_sigusr2(event):
Configure the SIGUSR2 handler. Called at startup.
API Documentation for Launchpad, generated by pydoctor at 2018-02-25 00:00:04.