does anyone know how to adjust logging for tests? i tried everything and it just does not work. I am...
f
does anyone know how to adjust logging for tests? i tried everything and it just does not work. I am getting debug level logs and i can't find anything at all. DEBUG prefect.client init .py1106 Connecting to API at http://127.0.0.1:8552/api/ DEBUG prefect.client init .py1106 Connecting to API at http://127.0.0.1:8552/api/ DEBUG prefect.events.clientsclients.py344 EventsClient(id=4594291376): Emitting event id=019c5bef-5960-7f2e-a5a3-965b67a6a015. DEBUG prefect.events.clientsclients.py453 Added event id=019c5bef-5960-7f2e-a5a3-965b67a6a015 to unconfirmed events list. There are now 112 unconfirmed events. DEBUG prefect.events.clientsclients.py344 EventsClient(id=4594291376): Emit reconnection attempt 0. DEBUG prefect.events.clientsclients.py344 EventsClient(id=4594291376): Sending event id=019c5bef-5960-7f2e-a5a3-965b67a6a015. DEBUG prefect.events.clientsclients.py344 EventsClient(id=4594291376): Checkpointing event id=019c5bef-5960-7f2e-a5a3-965b67a6a015. DEBUG prefect.events.clientsclients.py344 EventsClient(id=4594291376): Emitting event id=019c5bef-5963-746f-9295-6d56e361a973. DEBUG prefect.events.clientsclients.py453 Added event id=019c5bef-5963-746f-9295-6d56e361a973 to unconfirmed events list. There are now 113 unconfirmed events. DEBUG prefect.events.clientsclients.py344 EventsClient(id=4594291376): Emit reconnection attempt 0. DEBUG prefect.e i set my pytest env in toml file as follows:
Copy code
env = [
    "LOG_LEVEL=INFO",
    "PREFECT_LOGGING_LEVEL=ERROR",
    "PREFECT_LOGGING_TO_API_ENABLED=False",
    "PREFECT_TESTING_TEST_MODE=True",
    "PREFECT_SERVER_LOGGING_LEVEL=WARNING",
    "PREFECT_LOGGING_INTERNAL_LEVEL=WARNING",
    "PREFECT_LOG_PRINTS=False",
still no luck