Skip to main content

update_logging_config

Updates the system logging configuration when the LOGGING or LOGGING_CONFIG settings are modified.

def update_logging_config(
setting: string,
kwargs: dict
) - > null

Updates the system logging configuration whenever the LOGGING or LOGGING_CONFIG settings are modified.

Parameters

NameTypeDescription
settingstringThe name of the Django setting that was changed, used to determine if a logging refresh is required.
kwargsdictAdditional keyword arguments passed by the setting_changed signal receiver.

Returns

TypeDescription
nullNothing is returned; the function performs an in-place reconfiguration of the logging system.