diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index 55f2609d7..3da44ef3c 100644 --- a/ipalib/plugins/dns.py +++ b/ipalib/plugins/dns.py @@ -3438,7 +3438,7 @@ class dnsrecord(LDAPObject): while attempt < max_attempts: if attempt >= warn_attempts: - log_fn = self.log.warn + log_fn = self.log.warning attempt += 1 try: dns_answer = resolver.query(dns_name, rdtype,