By mfb on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
11.x
Introduced in version:
11.4.0
Issue links:
Description:
The Drupal\syslog\Logger\SysLog class now uses a service closure to lazily load the config.factory service. This works around certain cases of circular references that appear if a config storage dependency (such as an alternative cache backend) requires logging, and a logger depends on config storage. Subclasses should retrieve the configuration from ($this->configFactory)()->get('syslog.settings') rather than $this->config.
Impacts:
Module developers