Log format

This commit is contained in:
Kristian Krsnik 2023-10-13 13:39:16 +02:00
parent b56750c27e
commit 7b4a7c6f6d
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ def checkRecords(api: dict[str, dict[str, list[str]]], current_ip: str, log: Cal
filter(lambda x: current_ip in x['rrset_values'], response.json()))))
if records_to_renew[key][domain] != []:
log(f"[INFO][{' '.join(records_to_renew)}]Record that need to be renewed")
log(f"[INFO][{','.join(records_to_renew)}] Record need to be renewed")
else:
log(f"[ERROR][{domain}][{response.status_code}] {response.json()}")