Skip to content

Commit

Permalink
fix: updated log.warn to log.warning
Browse files Browse the repository at this point in the history
  • Loading branch information
marianne013 committed May 17, 2024
1 parent 788ab8c commit 5dc5b5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/bdii-update
Original file line number Diff line number Diff line change
Expand Up @@ -543,13 +543,13 @@ def log_errors(error_file, dns):
if not dn == dns[request - 2]:
error_counter += 1
dn = dns[request - 2]
log.warn("dn: %s" % dn)
log.warning("dn: %s" % dn)
except IndexError:
log.error("Problem with error reporting ...")
log.error("Request Num: %i, Line: %s, dns: %i" %
(request, line, len(dns)))
if len(line) > 5:
log.warn(line.strip())
log.warning(line.strip())
return error_counter


Expand Down

0 comments on commit 5dc5b5c

Please sign in to comment.