py2.6 doesn't have logging.NullHandler.