<@ULVA73B9P> give me documentation on PREFECT_LOGG...
# marvin-in-the-wild
j
@Marvin give me documentation on PREFECT_LOGGING_ROOT_LEVEL
m
The
PREFECT_LOGGING_ROOT_LEVEL
is an environment variable used in both Prefect 2.x and Prefect 3.x to configure the root logging level in Prefect applications. In both versions, the root logger receives logs from all loggers unless they explicitly opt out by disabling propagation. By default, the root logger is configured to output
WARNING
level logs to the console. You can change this level by setting the
PREFECT_LOGGING_ROOT_LEVEL
environment variable. Here are the links to the documentation where you can find more details: - Prefect 2.x Logging Documentation - Prefect 3.x Logging Documentation These logs can be configured more specifically if needed by using Prefect's configuration files or setting up your environment variables according to the preferences for your project.
j
@Marvin is it part of the prefect's settings variable?
m
Yes,
PREFECT_LOGGING_ROOT_LEVEL
can be set as a part of Prefect's settings variables. It is used to configure the root logging level, and you can override it through environment variables or in Prefect's configuration files. In both Prefect 2.x and 3.x, you can customize the logging configuration by setting an environment variable like
PREFECT_LOGGING_ROOT_LEVEL
to change the root logger's level. Here are the links to the relevant sections in the documentation: - Prefect 2.x Logging Documentation - Prefect 3.x Logging Documentation These settings allow you to fine-tune logging to suit your needs by utilizing either environment variables or adjusting the logging configuration files.