Merge "Refactor logging in loop to only log debug messages once" into stable/juno

This commit is contained in:
Jenkins 2015-04-01 21:21:08 +00:00 committed by Gerrit Code Review
commit eef28f3e2c
1 changed files with 2 additions and 1 deletions

View File

@ -550,7 +550,8 @@ class Dnsmasq(DhcpLocalProcess):
"ip": ip_address})
utils.replace_file(filename, buf.getvalue())
LOG.debug(_('Done building host file %s'), filename)
LOG.debug('Done building host file %s with contents:\n%s', filename,
buf.getvalue())
return filename
def _read_hosts_file_leases(self, filename):