From d548244fa45a2ea21ed4d2742a9a4b9e36f16fb5 Mon Sep 17 00:00:00 2001 From: redxef Date: Tue, 16 Jan 2024 20:44:34 +0100 Subject: [PATCH] Add debug log. --- main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.py b/main.py index 9569bc8..934cf81 100755 --- a/main.py +++ b/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']})