Hey Prefect peeps, Do you have an example of how ...
# ask-community
b
Hey Prefect peeps, Do you have an example of how we can use the
prefect.context.get("logger")
to log throught our entire project ? eg. when sub modules are called by calling their classes in that flow?
k
Hey @Ben Muller, I don’t think there is a way around this. You have to get the logger in the task and use it similar to using a Python logger without Prefect. If you have a submodule with it’s own logger though, you can add that as an Extra logger to Prefect