Peter
06/23/2020, 12:01 AMflow.run()
. I've read through the documentation on logging which recommends you use prefect's utility function get_logger()
to hook into a flow's logs, which works fine for creating a new application but would be a ton of work for us to change our existing applications that use python's standard logging practice - essentially defining logger = logging.getLogger(__name___)_
at the top of the module. Unfortunately, when we call flow.run()
with tasks that invoke our existing application that uses standard logging it looks like prefect disables those logs. Is there any way to tell prefect to log from existing applications that use python's standard logging.getLogger
instead of prefect's get_logger
utility?