self._posthog = Posthog(
project_api_key=k,
host="https://eu.i.posthog.com",
disabled=self._posthog_disabled,
)
posthog_logger = logging.getLogger("posthog")
posthog_logger.disabled = True
Output:
INFO 2024-10-30 19:33:55,125 backoff INFO: Backing off send_request(...) for 0.7s _common.py:105
(requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='eu.i.posthog.com', port=443): Read timed out.
(read timeout=15))