pvl.hosts.zone: better log.info
authorTero Marttila <tero.marttila@aalto.fi>
Thu, 26 Feb 2015 17:36:23 +0200
changeset 506 b19104afe1b4
parent 505 e5a76c404679
child 507 e3a32f4dff54
pvl.hosts.zone: better log.info
pvl/hosts/zone.py
--- a/pvl/hosts/zone.py	Thu Feb 26 17:27:36 2015 +0200
+++ b/pvl/hosts/zone.py	Thu Feb 26 17:36:23 2015 +0200
@@ -32,12 +32,12 @@
     elif host.forward is None:
         # forward
         if host.ip :
-            log.info("%s: forward %s[%s]: A %s", host, origin, label, host.ip)
+            log.info("%s: ip: %s@%s A %s", host, label, origin, host.ip)
 
             yield pvl.dns.ZoneRecord.A(label, host.ip)
 
         if host.ip6 :
-            log.info("%s: forward %s[%s]: AAAA %s", host, origin, label, host.ip6)
+            log.info("%s: ip6: %s@%s AAAA %s", host, label, origin, host.ip6)
 
             yield pvl.dns.ZoneRecord.AAAA(label, host.ip6)