Hi! We're running a cloud-run push work pool and f...
# ask-community
s
Hi! We're running a cloud-run push work pool and for some reason the logging lines logged using
get_run_logger()
appear in GCP's log explorer but are not reported back to the prefect API despite env vars set to encourage API logging. I do see logs from the runner itself (i.e. here) in both prefect run page and GCP logs. Any idea what I'm missing?
b
Hi @Scott Hoffberg Wilson can you share a snippet of code where you're using
get_run_logger()
?
s
Sigh, I created a separate test flow to share and the logging works fine so it must be one of my imports that's messing with the logger. Thanks for your help @Brendan Dalpe!