Irvin Tang
08/02/2021, 12:24 AMpyproject.toml
have a git dependency pointing to that test branch. after building the image with this new version of the library, registering the flow with that image, running the flow doesn’t display any of the additional logs
i have another project where i’m doing the same thing. the flows in that project do log the additional messages. i’m not sure if this might be the way i configured prefect/how i’m registering the flows. has anyone ever encountered this problem or have encountered something similar?
also please let me know if i was unclear about anything. thank you!Kevin Kho
Irvin Tang
08/02/2021, 12:27 AMapiVersion: batch/v1
kind: Job
spec:
template:
spec:
containers:
- name: flow
env:
- name: PREFECT__LOGGING__EXTRA_LOGGERS
value: "['my_library']"
also logs from the library don’t have trouble printing.Kevin Kho
imagePullPolicy
to Always
in the KubernetesRun
. The default is IfNotPresent
so maybe you’re not pulling the updated image? Example hereIrvin Tang
08/02/2021, 12:35 AM