From 8dcf06ea263105485096b6a3e2ab9da09ec4b3d5 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Thu, 5 Jun 2008 16:46:30 -0400 Subject: Add some logging --- bugzilla/__init__.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bugzilla') diff --git a/bugzilla/__init__.py b/bugzilla/__init__.py index 94f4886..8561921 100644 --- a/bugzilla/__init__.py +++ b/bugzilla/__init__.py @@ -12,6 +12,8 @@ from bugzilla3 import Bugzilla3 from rhbugzilla import RHBugzilla import xmlrpclib +import logging +log = logging.getLogger("bugzilla") def getBugzillaClassForURL(url): s = xmlrpclib.ServerProxy(url) @@ -42,4 +44,5 @@ class Bugzilla(object): if c: self.__class__ = c c.__init__(self,**kwargs) + log.debug("Using Bugzilla subclass: %s" % c.__name__) # FIXME no url? raise an error or something here, jeez -- cgit