diff -r 6d1392a3e0a6 -r 998dcacd4983 Python/BLIP.py --- a/Python/BLIP.py Tue Jun 23 13:52:28 2009 -0700 +++ b/Python/BLIP.py Thu Jul 02 20:45:11 2009 -0700 @@ -45,8 +45,14 @@ kMsgProfile_Hi = "Hi" kMsgProfile_Bye = "Bye" +# Logging Setup +class NullLoggingHandler(logging.Handler): + def emit(self, record): + pass log = logging.getLogger('BLIP') +# This line prevents the "No handlers found" warning if the calling code does not use logging. +log.addHandler(NullLoggingHandler()) log.propagate = True