Mathijs Carlu
02/21/2022, 3:04 PMget_run_logger().info('message')
, as the print()
function also does not seem to produce any logs.Anna Geller
02/21/2022, 3:25 PMfrom prefect import task, get_run_logger
@task
def marvins_favorite_task():
logger = get_run_logger()
<http://logger.info|logger.info>("Hello from the Marvin's favorite task!")
Zanie
02/21/2022, 4:46 PMMathijs Carlu
02/22/2022, 8:44 AMZanie
02/22/2022, 5:00 PMFlowRunner
?Mathijs Carlu
02/23/2022, 12:53 PMAnna Geller
02/23/2022, 1:31 PM