Loggger: Use warning instead of warn - dns plugin

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Tomas Babej 2016-01-19 14:20:32 +01:00 committed by Martin Basti
parent 78c5bf9f8e
commit ddf2c813b4

View File

@ -3438,7 +3438,7 @@ class dnsrecord(LDAPObject):
while attempt < max_attempts: while attempt < max_attempts:
if attempt >= warn_attempts: if attempt >= warn_attempts:
log_fn = self.log.warn log_fn = self.log.warning
attempt += 1 attempt += 1
try: try:
dns_answer = resolver.query(dns_name, rdtype, dns_answer = resolver.query(dns_name, rdtype,