Brian Roepke
12/31/2024, 3:05 PMBianca Hoch
12/31/2024, 4:54 PMBrian Roepke
12/31/2024, 6:15 PMMarvin
12/31/2024, 6:15 PMBrian Roepke
12/31/2024, 6:17 PMjob_variables={
"pip_packages": [
"prefect[docker]",
"prefect-snowflake",
"prefect-shell",
"prefect-slack",
"prefect-github",
"prefect-aws",
"asyncpg",
"twilio",
"sendgrid",
"SPARQLWrapper",
"snowflake-connector-python[pandas]",
],
"env": {"PREFECT_LOGGING_LEVEL": "ERROR"},
},
Marvin
12/31/2024, 6:17 PMPREFECT_LOGGING_LEVEL
environment variable. You mentioned setting it to "ERROR"
, but if you want more detailed logs, you might consider setting it to "DEBUG"
or "INFO"
instead.
Here's a summary of what you can do:
1. Environment Variable: Set PREFECT_LOGGING_LEVEL
to "DEBUG"
to capture detailed logs.
2. Loggers from Other Libraries: If you want to include logs from other libraries, use PREFECT_LOGGING_EXTRA_LOGGERS
to specify those libraries, separated by commas.
3. Custom Logging Configuration: If you need more control, you can provide your own logging.yml
file by setting the PREFECT_LOGGING_SETTINGS_PATH
.
For more detailed information, you can refer to the Prefect Logging Documentation and Settings Reference.
If you have any more questions or need further assistance, feel free to ask!