Skip to main content

configure_logging

Configures the logging system by importing a specified configuration function and applying it with the provided settings after initializing default logging.

def configure_logging(
logging_config: string,
logging_settings: dict
) - > null

Configures the logging system by importing a custom configuration function and applying provided settings. It initializes the default logging configuration before executing the custom configuration logic.

Parameters

NameTypeDescription
logging_configstringThe dot-notated Python path to a configuration function used to set up the logging framework.
logging_settingsdictA dictionary of configuration parameters passed to the custom logging function to define log levels, handlers, and formatters.

Returns

TypeDescription
nullNothing is returned; the function modifies the global logging state.