summaryrefslogtreecommitdiffstats
path: root/bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'bugzilla')
-rw-r--r--bugzilla/__init__.py3
1 files changed, 3 insertions, 0 deletions
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