From f0b502a74f3ea72cfd78d9837bbbcc0934e0b826 Mon Sep 17 00:00:00 2001 From: Lukasz Polanski Date: Tue, 13 Sep 2022 12:02:17 +0200 Subject: [PATCH] fix log merge --- octodns_netbox_dns/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/octodns_netbox_dns/__init__.py b/octodns_netbox_dns/__init__.py index 8cf4c2b..e7c5041 100644 --- a/octodns_netbox_dns/__init__.py +++ b/octodns_netbox_dns/__init__.py @@ -67,8 +67,8 @@ class NetBoxDNSSource(octodns.provider.base.BaseProvider): self, id: int, url: str, token: str, view: str | None, ttl=3600, replace_duplicates: bool = False, ): """Initialize the NetboxDNSSource.""" - self._log = logging.getLogger(f"NetboxDNSSource[{id}]") - self._log.debug( + self.log = logging.getLogger(f"NetboxDNSSource[{id}]") + self.log.debug( f"__init__: id={id}, url={url}, view={view}, replace_duplicates={replace_duplicates}" ) super(NetBoxDNSSource, self).__init__(id)