summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/f_service.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-10-31 17:03:10 -0400
committerRob Crittenden <rcritten@redhat.com>2008-11-03 13:14:46 -0500
commitdd9206deb62c1c96344d2280f672353a53a7fd11 (patch)
tree88644a1b8daf0a9a672d1ddc53da8d564c4c2216 /ipalib/plugins/f_service.py
parentf18c84444d4ed87d79f3cb41156c6b66f49ccac3 (diff)
downloadfreeipa.git-dd9206deb62c1c96344d2280f672353a53a7fd11.tar.gz
freeipa.git-dd9206deb62c1c96344d2280f672353a53a7fd11.tar.xz
freeipa.git-dd9206deb62c1c96344d2280f672353a53a7fd11.zip
Uncomment some logging statements ported over from v1.
Diffstat (limited to 'ipalib/plugins/f_service.py')
-rw-r--r--ipalib/plugins/f_service.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/f_service.py b/ipalib/plugins/f_service.py
index f02176ff..04187a86 100644
--- a/ipalib/plugins/f_service.py
+++ b/ipalib/plugins/f_service.py
@@ -91,10 +91,10 @@ class service_add(crud.Add):
fqdn = hostname + "."
rs = dnsclient.query(fqdn, dnsclient.DNS_C_IN, dnsclient.DNS_T_A)
if len(rs) == 0:
- logging.debug("IPA: DNS A record lookup failed for '%s'" % hostname)
+ self.log.debug("IPA: DNS A record lookup failed for '%s'" % hostname)
raise ipaerror.gen_exception(ipaerror.INPUT_NOT_DNS_A_RECORD)
else:
- logging.debug("IPA: found %d records for '%s'" % (len(rs), hostname))
+ self.log.debug("IPA: found %d records for '%s'" % (len(rs), hostname))
"""
# At some point we'll support multiple realms