libera_utils.logutil.configure_static_logging#

libera_utils.logutil.configure_static_logging(config_file: str | Path | S3Path)#

Configure logging based on a static logging configuration yaml file.

The yaml is interpreted as a dict configuration. There is no ability to customize this logging configuration at runtime.

Parameters:

config_file (cloudpathlib.anypath.AnyPath or str) – Location of config file.

See also

configure_task_logging

Runtime modifiable logging configuration.