summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/f_service.py
diff options
context:
space:
mode:
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