← Back to team overview

launchpad-dev team mailing list archive

Re: fixing the log handler for "lazr.smtptest"

 

On Fri, 2010-10-08 at 12:57 +0700, Stuart Bishop wrote:
> On Fri, Oct 8, 2010 at 2:33 AM, Curtis Hovey <curtis.hovey@xxxxxxxxxxxxx> wrote:
> > Rocket scientists,
> >
> > I have been seeing the following issues for a few months. I would like
> > to fix it:
> >
> >        Tear down canonical.testing.layers.AppServerLayerNo handlers
> >        could be found for logger "lazr.smtptest"
> >
> > I have not idea what to do. I think lazr.smtptest cannot log because the
> > log watch helpers never seem to pass anymore. I discovered that we
> > recently registered a null logger to suppress bzr, but in this case, I
> > do want a log because there are log watching tools that accompany it.
> 
> I think you do want to install the NullHandler in lp_sitecustomize().
> This will stop the spurious warnings, but events will still propagate
> up the tree to the root logger.

Thanks.

-- 
__Curtis C. Hovey_________
http://launchpad.net/

Attachment: signature.asc
Description: This is a digitally signed message part


References