diff options
-rw-r--r-- | ipalib/plugins/f_group.py | 2 | ||||
-rw-r--r-- | ipalib/plugins/f_service.py | 4 | ||||
-rw-r--r-- | ipalib/plugins/f_user.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ipalib/plugins/f_group.py b/ipalib/plugins/f_group.py index 13af14c1..9df83a29 100644 --- a/ipalib/plugins/f_group.py +++ b/ipalib/plugins/f_group.py @@ -111,7 +111,7 @@ class group_del(crud.Del): ldap = self.api.Backend.ldap dn = ldap.find_entry_dn("cn", cn, "posixGroup") -# logging.info("IPA: delete_group '%s'" % dn) + self.log.info("IPA: group-del '%s'" % dn) # Don't allow the default user group to be removed config=ldap.get_ipa_config() 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 diff --git a/ipalib/plugins/f_user.py b/ipalib/plugins/f_user.py index d8bb49e2..3adb328c 100644 --- a/ipalib/plugins/f_user.py +++ b/ipalib/plugins/f_user.py @@ -219,7 +219,7 @@ class user_del(crud.Del): # FIXME: do we still want a "special" user? raise SyntaxError("admin required") # raise ipaerror.gen_exception(ipaerror.INPUT_ADMIN_REQUIRED) -# logging.info("IPA: delete_user '%s'" % uid) + self.log.info("IPA: user-del '%s'" % uid) ldap = self.api.Backend.ldap dn = ldap.find_entry_dn("uid", uid) |