Tim Ricablanca
11/09/2022, 11:55 PMRunning
states but not for Failed
— details in thread:Version: 2.6.4
API version: 0.8.2
Python version: 3.9.15
Git commit: 51e92dda
Built: Thu, Oct 20, 2022 3:11 PM
OS/Arch: linux/x86_64
Profile: default
Server type: hosted
from prefect import task, flow
@task
def fail_task():
raise ValueError('Failing')
@flow(name='fail_flow')
def fail_flow():
fail_task()
prefect config view
the following are set:
PREFECT_DEBUG_MODE='True' (from env)
PREFECT_LOGGING_LEVEL='DEBUG' (from env)
PREFECT_LOGGING_ORION_ENABLED='True' (from env)
PREFECT_LOGGING_SERVER_LEVEL='DEBUG' (from env)
but the std out logs from the container are only the HTTP logs — not sure if I’m doing something wrong here.Zanie
11/10/2022, 12:13 AMsetup_logging
in the application start-up.Tim Ricablanca
11/10/2022, 12:13 AMRunning
but not Failed
Zanie
11/10/2022, 12:17 AMTim Ricablanca
11/10/2022, 12:22 AMZanie
11/10/2022, 12:26 AMTim Ricablanca
11/10/2022, 12:29 AMZanie
11/10/2022, 12:36 AMTim Ricablanca
11/10/2022, 12:38 AMRunning
and Failed
came through, so this could be a bit of MS Teams flakiness (rate limiting? something else?), however, the part that will be even more helpful going forward:
prefect-orion-1 | 01:25:21.075 | DEBUG | urllib3.connectionpool - https://<redacted> HTTP/1.1" 200 None
prefect-orion-1 | 01:25:21.078 | INFO | apprise - Sent MSTeams notification.
Thanks for the quick fix @Zanie — i’ll keep an eye out for the official change.