On Fri, Oct 8, 2010 at 2:33 AM, Curtis Hovey <[email protected]> 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. I suspect this only became visible with the recent logging work I've done, which fixed a 'bug' where we were throwing away a log of log messages from non lp modules. Its all very confusing and smells. -- Stuart Bishop <[email protected]> http://www.stuartbishop.net/ _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

