Hello, in Orion - how to handle logging from python files which are not part of flow code?
I usually use loguru for my logging but not able to make it work with Prefect logging seamlessly. I would like to have both prefect logging and app logging to sink to same target (file/console) and with consistent format.
Are there any good examples available on this ?
k
Kevin Kho
03/17/2022, 10:46 PM
Prefect 1 has extra loggers where you could attach your logger name as an env variable. I think there will be functionality to add loggers in the same way.
For loguru though where it kind of collects everything, are you trying to get them all in the Prefect UI? Or all to somewhere like a file or DataDog?
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.