Hey there !
Got a little logger issue. I'm using a custom library in a task that uses
from loguru import logger
and uses that for logging. Unfortunately, those don't appear in Prefect logs which is not great.
I've tried adding
PREFECT__LOGGING__EXTRA_LOGGERS="['loguru']"
in my environment but doesn't seem to work. Is there another way to do this ?
k
Kevin Kho
05/17/2022, 4:03 PM
I have seen this asked 3-4 and haven’t seen a way that it plays well with Prefect yet. Part of the 2.0 roadmap is making loggers/handlers like this easier to integrate though
s
Sylvain Hazard
05/18/2022, 6:44 AM
Alright, thanks for the heads up. At least I can get the logs from the k8s pods directly, I guess that's something 😅
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.