Open j-carson opened 2 months ago
I've stared at this a bit, I think what needs to happen is here:
logging/configuration.py line 104:
if logger.level == logging.NOTSET:
logger.setLevel(extra_config.level)
should just be
handler.setLevel(extra_config.level)
Bug summary
I am converting a command line data pipeline to a prefect flow and am trying to get logging to work as expected. I was discussing this with Chris White here: https://prefect-community.slack.com/archives/CL09KU1K7/p1726094132119519 But the source code is a bit complicated and he asked me to put it in a ticket instead. The code is here: https://github.com/j-carson/prefect_log_question
Version info (
prefect version
output)Additional context
I put the context in the comments in the flow in the linked repository