diff --git a/examples/fetch_reports.py b/examples/fetch_reports.py index 6dbb587..3758417 100644 --- a/examples/fetch_reports.py +++ b/examples/fetch_reports.py @@ -9,7 +9,7 @@ from findmy.reports import RemoteAnisetteProvider # URL to (public or local) anisette server ANISETTE_SERVER = "http://localhost:6969" -logging.basicConfig(level=logging.DEBUG) +logging.basicConfig(level=logging.INFO) def fetch_reports(priv_key: str) -> int: diff --git a/examples/fetch_reports_async.py b/examples/fetch_reports_async.py index 2e41249..d267a6d 100644 --- a/examples/fetch_reports_async.py +++ b/examples/fetch_reports_async.py @@ -10,7 +10,7 @@ from findmy.reports import RemoteAnisetteProvider # URL to (public or local) anisette server ANISETTE_SERVER = "http://localhost:6969" -logging.basicConfig(level=logging.DEBUG) +logging.basicConfig(level=logging.INFO) async def fetch_reports(priv_key: str) -> int: diff --git a/examples/real_airtag.py b/examples/real_airtag.py index 51abca8..a00336c 100644 --- a/examples/real_airtag.py +++ b/examples/real_airtag.py @@ -3,6 +3,7 @@ Example showing how to fetch locations of an AirTag, or any other FindMy accesso """ from __future__ import annotations +import logging import sys from pathlib import Path @@ -14,6 +15,8 @@ from findmy.reports import RemoteAnisetteProvider # URL to (public or local) anisette server ANISETTE_SERVER = "http://localhost:6969" +logging.basicConfig(level=logging.INFO) + def main(plist_path: str) -> int: # Step 0: create an accessory key generator