prefect.logging.configuration

Functions

load_logging_config

load_logging_config(path: Path) -> dict[str, Any]
Loads logging configuration from a path allowing override from the environment

setup_logging

setup_logging(incremental: bool | None = None) -> dict[str, Any]
Sets up logging. Returns the config used.