Andrey Tatarinov
01/14/2022, 7:20 PMKevin Kho
Andrey Tatarinov
01/14/2022, 7:26 PMAndrey Tatarinov
01/14/2022, 7:27 PMAndrey Tatarinov
01/14/2022, 7:28 PMAndrey Tatarinov
01/14/2022, 7:28 PMKevin Kho
getLogger
is not preferred. The way to do it would be the env variable below:
export PREFECT__LOGGING__EXTRA_LOGGERS="['snowflake.connector', 'boto3', 'custom_lib']"
but I think the getLogger
can work if you use a script-based storage by using stored_as_script=True
with Docker. This stored the Flow as a script, and then evaluates it during execution. Because it’s evaluated, logging configuration will stick.
The default serializes the Flow, and the logger settings get lost cuz of this. You can read more abotu script based storage hereAndrey Tatarinov
01/14/2022, 7:35 PMKevin Kho