Browse Source

Log the octoDNS version as part of Manager.__init__ info line

pull/891/head
Ross McFarland 4 years ago
parent
commit
6ab6124d72
No known key found for this signature in database GPG Key ID: 943B179E15D3B22A
2 changed files with 7 additions and 1 deletions
  1. +4
    -0
      CHANGELOG.md
  2. +3
    -1
      octodns/manager.py

+ 4
- 0
CHANGELOG.md View File

@ -14,6 +14,10 @@
to do so, but weren't. There was an ordering before, but it was essentially
arbitrarily picked.
#### Stuff
* Manager includes the octoDNS version in its init log line
## v0.9.16 - 2022-03-04 - Manage the root of the problem
#### Noteworthy changes


+ 3
- 1
octodns/manager.py View File

@ -11,6 +11,7 @@ from os import environ
from sys import stdout
import logging
from . import __VERSION__
from .provider.base import BaseProvider
from .provider.plan import Plan
from .provider.yaml import SplitYamlProvider, YamlProvider
@ -84,7 +85,8 @@ class Manager(object):
return len(plan.changes[0].record.zone.name) if plan.changes else 0
def __init__(self, config_file, max_workers=None, include_meta=False):
self.log.info('__init__: config_file=%s', config_file)
self.log.info('__init__: config_file=%s (octoDNS %s)', config_file,
__VERSION__)
# Read our config file
with open(config_file, 'r') as fh:


Loading…
Cancel
Save