Add debug log.
This commit is contained in:
parent
234e2c4bc8
commit
d548244fa4
1 changed files with 4 additions and 0 deletions
4
main.py
4
main.py
|
@ -104,6 +104,10 @@ def main(config, level, force_refresh):
|
|||
ovh_client = ovh.Client(
|
||||
**config['ovh'],
|
||||
)
|
||||
records = get_records(ovh_client, {'zone': config['zone']})
|
||||
logger.debug('Found records %d:', len(records))
|
||||
for r in records:
|
||||
logger.debug(' - %s', repr(r))
|
||||
records = [
|
||||
r
|
||||
for r in get_records(ovh_client, {'zone': config['zone']})
|
||||
|
|
Loading…
Reference in a new issue