From ddf2c813b453a85c22dbf278a575d3c6406b4471 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Tue, 19 Jan 2016 14:20:32 +0100 Subject: [PATCH] Loggger: Use warning instead of warn - dns plugin Reviewed-By: Martin Basti --- ipalib/plugins/dns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,