{
$factoryName = $this->config->get('system', 'logger_config') ?? '';
+ /**
+ * @deprecated 2025.02 The value `monolog` for `system.logger_config` inside the `config/local.config.php` file is deprecated, please use `stream` or `syslog` instead.
+ */
+ if ($factoryName === 'monolog') {
+ @trigger_error('The config `system.logger_config` with value `monolog` is deprecated since 2025.02 and will stop working in 5 months, please change the value to `stream` or `syslog` in the `config/local.config.php` file.', \E_USER_DEPRECATED);
+
+ $factoryName = 'stream';
+ }
+
if (!array_key_exists($factoryName, $this->factories)) {
return new NullLogger();
}
'lock_driver' => '',
// logger_config (String)
- // Sets the logging adapter of Friendica globally (monolog, syslog, stream)
+ // Sets the logging adapter of Friendica globally (syslog, stream)
+ // @deprecated 2025.02 The value `monolog` is deprecated, please use `stream` or `syslog` instead.
'logger_config' => 'stream',
// syslog_flags (Integer)